VDB

ALPINE-CVE-2018-14618

ALPINE-CVE-2018-14618 PUBLISHED CVSS 9.800000190734863 CRITICAL

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.)

Risk Scores

CVSS v3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.17curl7.61.0-r0, 0, 7.19.2-r0
Alpine:v3.15curl0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.7curl7.21.5-r0, 7.61.0-r0, 7.60.0-r1
Alpine:v3.11curl7.49.1-r0, 7.50.1-r0, 7.50.2-r0
Alpine:v3.6curl0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.22curl7.30.0-r0, 0, 7.19.2-r0
Alpine:v3.16curl7.61.0-r0, 7.60.0-r1, 7.60.0-r0
Alpine:v3.5curl0, 7.61.0-r0, 7.60.0-r1
Alpine:v3.19curl7.26.0-r0, 7.21.7-r0, 7.21.7-r1
Alpine:v3.8curl7.61.0-r0, 7.60.0-r1, 7.60.0-r0
Alpine:v3.18curl7.21.6-r0, 7.21.7-r0, 7.21.7-r1
Alpine:v3.20curl0, 7.61.0-r0, 7.60.0-r1
Alpine:v3.21curl7.39.0-r0, 7.38.0-r0, 7.37.1-r0
Alpine:v3.10curl7.61.0-r0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.13curl7.55.1-r0, 7.56.1-r0, 7.54.1-r0
Alpine:v3.14curl7.58.0-r1, 7.55.1-r0, 7.45.0-r1
Alpine:v3.23curl7.60.0-r0, 7.21.6-r0, 7.21.5-r1
Alpine:v3.12curl7.19.7-r1, 7.21.5-r1, 7.21.5-r0
Alpine:v3.9curl7.41.0-r0, 7.60.0-r0, 7.61.0-r0

Timeline

  • Sep 5, 2018 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›