CVE-2018-16890
Reported by redhat · Published February 6, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcurl | Amazon Linux | 7.61.1-9.amzn2.0.1 |
| lib32-curl | Arch Linux | 7.64.0-1 |
| curl | Ubuntu:18.04:LTS | 7.58.0-2ubuntu3.6 |
| libcurl | haxx | 7.64.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The curl Project | curl | 7.64.0 |
| amazon:2 | libcurl | 0 |
| arch | lib32-curl | 0 |
| The curl Project | curl | 7.64.0 |
| arch | libcurl-gnutls | 0 |
| amazon:2 | curl | 0 |
| amazon:2 | libcurl-devel | 0 |
| arch | curl | 0 |
| alpine | curl | 0, 0 |
| arch | lib32-libcurl-compat | 0 |
| arch | lib32-libcurl-gnutls | 0 |
Timeline
- Feb 5, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 2, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (25 in total, the first dated here)
- Mar 6, 2026 Security Advisory (32 in total, the first dated here)
- Sep 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-16890
vulnetix vdb fixes CVE-2018-16890
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-16890/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4386 vendor-advisoryx_refsource_DEBIAN
- 106947 vdb-entryx_refsource_BID
- x_refsource_MISC
- x_refsource_CONFIRM
- USN-3882-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- [infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to new base image jdk8u202-b08_openj9-0.12.1. mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- RHSA-2019:3701 vendor-advisoryx_refsource_REDHAT