{"id":"CVE-2018-14618","published":"2018-09-05T19:00:00Z","modified":"2026-04-15T20:54:19Z","title":"curl before version 7.61.1 is vulnerable to a buffer overrun in the NTLM authentication code","vendor":null,"product":"curl","tier":"tail","description":{"text":"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.)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.10707,"percentile":0.95927,"provenance":"source"},"cwes":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://curl.haxx.se/docs/CVE-2018-14618.html","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201903-03","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://usn.ubuntu.com/3765-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3558","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0014","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2018/dsa-4286","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securitytracker.com/id/1041605","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://usn.ubuntu.com/3765-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14618","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1880","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.19},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"curl","versions":["7.61.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-15T20:54:10.806896Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"curl versions before 7.61.1 contain a buffer overrun in the NTLM authentication code, specifically in the internal function Curl_ntlm_core_mk_nt_hash, where doubling the password length to size a heap allocation overflows a 32-bit size_t once the password exceeds 2GB. An attacker able to supply a password of that size during NTLM authentication, on a system with a 32-bit size_t, could cause a heap buffer overflow by tricking curl into allocating a far-too-small buffer, with the attack conditions defined by the provided record alone.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:36:54Z"},"euvd":{"id":"EUVD-2018-6525","exploited":false,"provenance":"source"}}