CVE-2018-16890
Description
libcurl versions 7.36.0 to 7.63.0 contain a heap buffer out-of-bounds read via improper NTLM type-2 message length validation, potentially leaking memory or causing a crash.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
libcurl versions 7.36.0 to 7.63.0 contain a heap buffer out-of-bounds read via improper NTLM type-2 message length validation, potentially leaking memory or causing a crash.
Vulnerability
A heap buffer out-of-bounds read vulnerability exists in the ntlm_decode_type2_target function in lib/vauth/ntlm.c of libcurl, affecting versions from 7.36.0 to 7.63.0 inclusive [1][4]. The function does not properly validate incoming NTLM type-2 message fields, leading to an integer overflow when computing a length-plus-offset value [3][4]. This allows a malicious or broken NTLM server to supply a crafted length and offset combination that causes libcurl to read beyond the bounds of an allocated heap buffer [3][4].
Exploitation
An attacker must control an NTLM server that the libcurl client communicates with, or be in a position to spoof NTLM type-2 responses (e.g., via a man-in-the-middle attack). No authentication is required from the client side other than initiating an NTLM-authenticated connection [3][4]. The attacker sends a specially crafted type-2 message containing a manipulated length and offset pair; libcurl's flawed decoding then attempts to copy data using that corrupt offset, triggering the out-of-bounds read [3][4].
Impact
Successful exploitation results in a heap buffer out-of-bounds read, which can cause libcurl to crash (denial of service) or to disclose sensitive memory contents to the attacker [2][4]. The advisory notes the severity as Medium [4] and the Ubuntu security notice also mentions the possibility of arbitrary code execution when combined with NTLMv2 (CVE-2019-3822), but for this specific CVE the impact is limited to information disclosure and denial of service [2].
Mitigation
Fixed in curl version 7.64.0, released on February 6, 2019 [4]. Users should upgrade to 7.64.0 or later. Patches are available for individual application [4]. If upgrade is not immediately possible, turn off NTLM authentication as a workaround [3][4]. Red Hat Enterprise Linux 5, 6, and 7 are not affected because they do not support NTLMv2 type-2 headers [3].
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
22- osv-coords20 versionspkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.0pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/curl-mini&distro=openSUSE%20Leap%2015.0pkg:rpm/suse/curl&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%207
< 7.60.0-lp150.2.18.1+ 19 more
- (no CPE)range: < 7.60.0-lp150.2.18.1
- (no CPE)range: < 7.79.1-1.1
- (no CPE)range: < 7.60.0-lp150.2.18.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.60.0-3.17.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.37.0-37.34.1
- (no CPE)range: < 7.60.0-4.3.1
- (no CPE)range: < 7.37.0-37.34.1
- The curl Project/curlv5Range: 7.64.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
12- access.redhat.com/errata/RHSA-2019:3701mitrevendor-advisoryx_refsource_REDHAT
- usn.ubuntu.com/3882-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.debian.org/security/2019/dsa-4386mitrevendor-advisoryx_refsource_DEBIAN
- www.securityfocus.com/bid/106947mitrevdb-entryx_refsource_BID
- bugzilla.redhat.com/show_bug.cgimitrex_refsource_CONFIRM
- cert-portal.siemens.com/productcert/pdf/ssa-436177.pdfmitrex_refsource_CONFIRM
- curl.haxx.se/docs/CVE-2018-16890.htmlmitrex_refsource_MISC
- lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3Emitremailing-listx_refsource_MLIST
- security.netapp.com/advisory/ntap-20190315-0001/mitrex_refsource_CONFIRM
- support.f5.com/csp/article/K03314397mitrex_refsource_CONFIRM
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlmitrex_refsource_MISC
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.