CVE-2018-14618
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedcurl 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.)
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencecurl before 7.61.1 contains a heap buffer overflow in NTLM authentication. The function Curl_ntlm_core_mk_nt_hash calculates buffer size by multiplying password length by 2, but on 32-bit systems when the password exceeds 2GB, an integer overflow causes a small buffer to be allocated, leading to heap overflow during password processing.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 12.04= 14.04= 16.04= 18.04= 9.0= 6.0= 7.0= 7.4= 7.5= 7.6< 7.61.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed curl versionRun 'curl --version' or check package manager: 'dpkg -l | grep curl' (Debian/Ubuntu) or 'rpm -q curl' (RHEL)Affected if Version is lower than 7.61.1, or version cannot be determined and your distribution is in the affected list (Ubuntu 12.04-18.04, Debian 9.0, RHEL 6.0-7.6)
-
Identify if curl library is used by applicationsCheck for libcurl presence: 'ldd <application> | grep curl' or 'dpkg -l | grep libcurl' / 'rpm -qa | grep libcurl'Affected if libcurl version is installed and is lower than 7.61.1
-
Confirm system architectureRun 'uname -m' or 'getconf LONG_BIT' - look for i386, i686, or 32-bit indicatorAffected if Running a 32-bit operating system (the overflow only triggers on 32-bit systems with passwords exceeding 2GB)
-
Detect if NTLM authentication is configured or in useReview application configs for NTLM, NTLM-v2, or --ntlm curl options; check environment variables like 'NTLM_AUTH' or proxy configurations using NTLMAffected if Applications or scripts use NTLM authentication with curl, as this is the vulnerable code path
You are affected if curl or libcurl version is below 7.61.1 AND NTLM authentication is used AND you are on a 32-bit system with potential for large password handling; otherwise the overflow requires password lengths exceeding 2GB which is rare but possible in specific configurations.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped7.61.1
Upgrade curl to version 7.61.1 or later to patch the integer overflow in NTLM authentication. On 32-bit systems, prioritize upgrading given the direct exploitability.
curl version 7.61.1 or later (libcurl)
- Identify the current curl version by running: curl --version or dpkg -l | grep curl (Debian/Ubuntu) or rpm -qa | grep curl (RHEL/CentOS)
- Stop any services or applications that are using curl to ensure a safe upgrade
- Update the curl package using your distribution's package manager: For Ubuntu/Debian: sudo apt-get update && sudo apt-get install curl libcurl3 (or libcurl4 for newer systems), For RHEL/CentOS 6/7: sudo yum update curl
- Alternatively, download and install curl 7.61.1 or later directly from curl.haxx.se or compile from source: wget https://curl.haxx.se/download/curl-7.61.1.tar.gz && tar -xzf curl-7.61.1.tar.gz && cd curl-7.61.1 && ./configure && make && sudo make install
- Verify the installed version: curl --version and confirm it shows version 7.61.1 or higher
- Restart any affected services that rely on curl
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-14618 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-14618 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data