{"id":"UBUNTU-CVE-2018-16890","details":"libcurl versions from 7.36.0 to before 7.64.0 is vulnerable to a heap buffer out-of-bounds read. The function handling incoming NTLM type-2 messages (`lib/vauth/ntlm.c:ntlm_decode_type2_target`) does not validate incoming data correctly and is subject to an integer overflow vulnerability. Using that overflow, a malicious or broken NTLM server could trick libcurl to accept a bad length + offset combination that would lead to a buffer read out-of-bounds.","modified":"2026-02-04T03:52:00.789195Z","published":"2019-02-06T00:00:00Z","related":["USN-3882-1"],"upstream":["CVE-2018-16890"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-16890"},{"type":"REPORT","url":"https://curl.haxx.se/docs/CVE-2018-16890.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3882-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-16890"}],"affected":[{"package":{"name":"curl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/curl@7.47.0-1ubuntu2.12?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.47.0-1ubuntu2.12"}]}],"versions":["7.43.0-1ubuntu2","7.45.0-1ubuntu1","7.46.0-1ubuntu1","7.47.0-1ubuntu1","7.47.0-1ubuntu2","7.47.0-1ubuntu2.1","7.47.0-1ubuntu2.2","7.47.0-1ubuntu2.3","7.47.0-1ubuntu2.4","7.47.0-1ubuntu2.5","7.47.0-1ubuntu2.6","7.47.0-1ubuntu2.7","7.47.0-1ubuntu2.8","7.47.0-1ubuntu2.9","7.47.0-1ubuntu2.11"],"ecosystem_specific":{"binaries":[{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"curl"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl3"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl3-gnutls"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl3-nss"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.47.0-1ubuntu2.12","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16890.json"}},{"package":{"name":"curl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/curl@7.58.0-2ubuntu3.6?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.58.0-2ubuntu3.6"}]}],"versions":["7.55.1-1ubuntu2","7.55.1-1ubuntu2.1","7.57.0-1ubuntu1","7.58.0-2ubuntu1","7.58.0-2ubuntu2","7.58.0-2ubuntu3","7.58.0-2ubuntu3.1","7.58.0-2ubuntu3.2","7.58.0-2ubuntu3.3","7.58.0-2ubuntu3.5"],"ecosystem_specific":{"binaries":[{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"curl"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl3-gnutls"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl3-nss"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4-gnutls-dev"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4-nss-dev"},{"binary_version":"7.58.0-2ubuntu3.6","binary_name":"libcurl4-openssl-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16890.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}