Security mailing lists by PureSourceCode

CVE-2018-14618

CRITICAL 9.8CVSS 3.0

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

Published
5 Sep 2018
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-122CWE-190
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD secalert@redhat.com (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD haxx libcurl
cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*
< 7.61.1 7.61.1
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
= 12.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
= 6.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*
= 7.4
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*
= 7.5
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:*
= 7.6

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 5 Sep 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.