CVE-2018-14618: canonical ubuntu_linux Heap-based Buffer Overflow
Vulnerability summary
CVE-2018-14618 is a high (CVSS 10.0) Heap-based Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 11.12% chance of exploitation in the next 30 days, higher than 95.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 05-09-2018PublishedVulnerability first disclosed.
- 15-04-2026Last modifiedVulnerability information updated.
Description
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.)
CVSS metrics
7 scores · 6 sources · 2 versions- NVDNIST9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
11.12%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
0.00 pp
From 11.12% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-131Incorrect Calculation of Buffer SizeThe product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Suse9 products
- curl-openssl1&distro=SUSE Linux Enterprise Server 11-SECURITY< 7.37.0-70.33.1
- curl&distro=SUSE Linux Enterprise Desktop 12 SP3< 7.37.0-37.26.1
- curl&distro=SUSE Linux Enterprise Module for Basesystem 15< 7.60.0-3.9.1
- curl&distro=SUSE Linux Enterprise Server 11 SP4< 7.37.0-70.33.1
- curl&distro=SUSE Linux Enterprise Server 12 SP3< 7.37.0-37.26.1
Redhat5 products
- enterprise_linuxEOL6.0 | 7.0 | 7.4 | 7.5 | 7.6
- curl< 0:7.29.0-51.el7_6.3
- curl-debuginfo< 0:7.29.0-51.el7_6.3
- libcurl< 0:7.29.0-51.el7_6.3
- libcurl-devel< 0:7.29.0-51.el7_6.3
Debian2 products
- curl< 7.62.0-1 | < 7.52.1-5+deb9u7 | < 7.38.0-4+deb8u12
- debian_linuxEOL9.0
[unknown]1 product
- curl7.61.1
Alpine1 product
- curl< 7.61.1-r0
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 18.04
Haxx1 product
- libcurl< 7.61.1
Ubuntu1 product
- curl< 7.35.0-1ubuntu2.17 | < 7.47.0-1ubuntu2.9 | < 7.58.0-2ubuntu3.3
8 vendors · 21 products
References
31 links- cert-portal.siemens.com/productcert/pdf/ssa-436177.pdfX Refsource CONFIRM