CVE-2017-13738
High · 8.8CVSS
8.8
EPSS
1.5%
Published
Aug 29, 2017
CISA due date
—
Cloudanix analysis
A problem in a library used by Consul can let attackers take over the system or stop it from working by feeding it specially made data.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw triggers an illegal memory address access inside _lou_getALine during translation-table compilation, resulting in memory corruption that can be leveraged for crashes or arbitrary code execution.
Why it matters to the business
Successful exploitation can allow remote attackers to take control of Consul instances or cause service outages, increasing operational risk and potential data exposure in environments that depend on the affected packages.
How an attack unfolds
An attacker supplies a crafted translation table to the vulnerable Liblouis component used by Consul; when the table is compiled the illegal address access occurs, allowing memory corruption that leads to code execution or denial of service.
How to fix it
Upgrade all listed Consul packages (consul-1.15, consul-1.15-oci-entrypoint, consul-1.15-oci-entrypoint-compat and their Wolfi/Chainguard variants) to version 1.15.11-r5 or newer.
How to confirm the fix worked
Confirm installed package versions match or exceed the fixed releases, then run regression tests that exercise translation-table compilation paths.
Typical attack path
- Identify a Consul deployment that pulls in the vulnerable Liblouis dependency
- Craft a malicious translation table that triggers the out-of-bounds access
- Deliver the table through an input path accepted by Consul
- Trigger table compilation to corrupt memory and achieve code execution or crash
How to detect it
Look in application and system logs for unexpected crashes or segmentation faults during table compilation; correlate with process restarts or memory-related error messages.
What your security team should do
- Apply the 1.15.11-r5 updates immediately on all affected Consul deployments
- Scan container images and package manifests for older Liblouis versions
- Monitor upstream Chainguard and Wolfi advisories for any follow-on fixes
The record
There is an illegal address access in the _lou_getALine function in compileTranslationTable.c:346 in Liblouis 3.2.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | liblouis | 0 | 3.3.0-1 |
| Debian:11 | liblouis | 0 | 3.3.0-1 |
| Debian:12 | liblouis | 0 | 3.3.0-1 |
| Debian:13 | liblouis | 0 | 3.3.0-1 |
| Red Hat:enterprise_linux:7::client | liblouis | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | liblouis-debuginfo | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | liblouis-devel | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | liblouis-doc | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | liblouis-python | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::client | liblouis-utils | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::server | liblouis | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::server | liblouis-debuginfo | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::server | liblouis-devel | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::server | liblouis-doc | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::server | liblouis-python | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::server | liblouis-utils | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::workstation | liblouis | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::workstation | liblouis-debuginfo | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::workstation | liblouis-devel | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::workstation | liblouis-doc | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::workstation | liblouis-python | 0 | 0:2.5.2-11.el7_4 |
| Red Hat:enterprise_linux:7::workstation | liblouis-utils | 0 | 0:2.5.2-11.el7_4 |
| SUSE:Linux Enterprise Desktop 12 SP2 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | python3-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | python3-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | python-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | python3-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | python-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | python3-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | python-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | python3-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | python-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | python3-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | python-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | python3-louis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | liblouis | 0 | 2.6.4-6.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | liblouis | 0 | 2.6.4-6.3.1 |
| Ubuntu:14.04:LTS | liblouis | 0 | 2.5.3-2ubuntu1.1 |
| Ubuntu:16.04:LTS | liblouis | 0 | 2.6.4-2ubuntu0.1 |
| openSUSE:Tumbleweed | liblouis | 0 | 3.16.1-1.5 |
Related vulnerabilities
- CVE-2023-26769 Buffer Overflow vulnerability found in Liblouis Lou_Trace v.3.24.0 allows a remote… Also affects liblouis
- CVE-2022-31783 Liblouis 3.21.0 has an out-of-bounds write in compileRule in compileTranslationTable.c… Also affects liblouis
- CVE-2022-26981 Liblouis through 3.21.0 has a buffer overflow in compilePassOpcode in… Also affects liblouis
- CVE-2014-8184 A vulnerability was found in liblouis, versions 2.5.x before 2.5.4. Also affects liblouis
- CVE-2026-92824 A flaw was found in libmodulemd. CWE-125
- CVE-2026-114038 A flaw was found in device-mapper-multipath. CWE-125
- CVE-2026-112896 Pillow is a Python imaging library. CWE-125
- CVE-2026-112278 rdesktop through 1.9.0 contains a heap out-of-bounds read vulnerability in… CWE-125