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.)
Published: 2018-09-05
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-1498-1 curl security update
Debian DSA Debian DSA DSA-4286-1 curl security update
EUVD EUVD EUVD-2018-6525 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.)
Ubuntu USN Ubuntu USN USN-3765-1 curl vulnerability
Ubuntu USN Ubuntu USN USN-3765-2 curl vulnerability
History

Wed, 15 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Canonical Ubuntu Linux
Debian Debian Linux
Haxx Libcurl
Redhat Ansible Tower Enterprise Linux Rhel Software Collections
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-04-15T20:54:19.698Z

Reserved: 2018-07-27T00:00:00.000Z

Link: CVE-2018-14618

cve-icon Vulnrichment

Updated: 2024-08-05T09:29:51.906Z

cve-icon NVD

Status : Modified

Published: 2018-09-05T19:29:00.420

Modified: 2024-11-21T03:49:26.003

Link: CVE-2018-14618

cve-icon Redhat

Severity : Low

Publid Date: 2018-09-05T00:00:00Z

Links: CVE-2018-14618 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses