Heap-based buffer overflow in [UNKNOWN] curl
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 15 fixed, 6 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
Summary
curl before version 7.61.1 is vulnerable to a buffer overrun in the NTLM authentication code. The internal function Curl_ntlm_core_mk_nt_hash multiplies the length of the password by two (SUM) to figure out how large temporary storage area to allocate from the heap. The length value is then subsequently used to iterate over the password and generate output into the allocated storage buffer. On systems with a 32 bit size_t, the math to calculate SUM triggers an integer overflow when the password length exceeds 2GB (2^31 bytes). This integer overflow usually causes a very small buffer to actually get allocated instead of the intended very huge one, making the use of that buffer end up in a heap buffer overflow. (This bug is almost identical to CVE-2017-8816.)
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | curl | 7.61.1 | — | No fix listed | CNA |
- curl Vendor[UNKNOWN] Affected 7.61.1 Fixed in — No fix listed CNA
CPE configurations NVD · 11
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* | before 7.61.1 | Vulnerable | Haxx |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
- cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* Versions before 7.61.1 Vulnerable ·Haxx
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
Remediation
Red Hat 2 advisories
- RHSA-2019:1880 Released 2019-07-29 · Red Hat rating Lowcurl security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) curl-7.29.0-51.el7_6.3, libcurl-7.29.0-51.el7_6.3
- Red Hat Enterprise Linux Client Optional (v. 7) libcurl-devel-7.29.0-51.el7_6.3
- Red Hat Enterprise Linux ComputeNode (v. 7) curl-7.29.0-51.el7_6.3, libcurl-7.29.0-51.el7_6.3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libcurl-devel-7.29.0-51.el7_6.3
- Red Hat Enterprise Linux Server (v. 7) curl-7.29.0-51.el7_6.3, libcurl-7.29.0-51.el7_6.3, libcurl-7.29.0-51.el7_6.3.ppc +2
- Red Hat Enterprise Linux Workstation (v. 7) curl-7.29.0-51.el7_6.3, libcurl-7.29.0-51.el7_6.3, libcurl-devel-7.29.0-51.el7_6.3
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) curl-7.29.0-51.el7_6.3, libcurl-7.29.0-51.el7_6.3, libcurl-devel-7.29.0-51.el7_6.3
- RHSA-2018:3558 Released 2018-11-13 · Red Hat rating Moderatehttpd24 security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) httpd24-curl-7.61.1-1.el6, httpd24-httpd-2.4.34-7.el6, httpd24-httpd-devel-2.4.34-7.el6 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) httpd24-curl-7.61.1-1.el7, httpd24-httpd-2.4.34-7.el7, httpd24-httpd-devel-2.4.34-7.el7 +12
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) httpd24-curl-7.61.1-1.el7, httpd24-httpd-2.4.34-7.el7, httpd24-httpd-devel-2.4.34-7.el7 +12
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) httpd24-curl-7.61.1-1.el7, httpd24-httpd-2.4.34-7.el7, httpd24-httpd-devel-2.4.34-7.el7 +12
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) httpd24-curl-7.61.1-1.el7, httpd24-httpd-2.4.34-7.el7, httpd24-httpd-devel-2.4.34-7.el7 +12
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) httpd24-curl-7.61.1-1.el6, httpd24-httpd-2.4.34-7.el6, httpd24-httpd-devel-2.4.34-7.el6 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) httpd24-curl-7.61.1-1.el7, httpd24-httpd-2.4.34-7.el7, httpd24-httpd-devel-2.4.34-7.el7 +12
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| .NET Core 1.0 on Red Hat Enterprise Linux | Affected | No fix planned: Out of support scope |
| .NET Core 1.1 on Red Hat Enterprise Linux | Affected | No fix planned: Out of support scope |
| .NET Core 2.0 on Red Hat Enterprise Linux | Affected | No fix planned: Out of support scope |
| .NET Core 2.1 on Red Hat Enterprise Linux | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Tower 3.4 for RHEL 7 Server | Fixed | — |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:1880 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2019:1880 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:1880 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:1880 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1880 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1880 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2019:1880 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:3558 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3558 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:3558 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:3558 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2018:3558 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:3558 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3558 |
Not affected: 3 products
- Red Hat Enterprise Linux 8
- Red Hat JBoss Core Services
- Red Hat JBoss Web Server 3
Timeline
- 2026-10-02 Threatist record created from CVE-2018-14618
- 2026-10-03 Alias added: GHSA-4mp9-8964-jxmg
References
Advisory 8
Sources
- CVE-2018-14618 · CVE Program
- CVE-2018-14618 · NVD
- FIRST EPSS
- GHSA-4mp9-8964-jxmg · GitHub Advisory Database · CC BY 4.0
- CVE-2018-14618 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences