VDB

CVE-2019-3822

CVE-2019-3822 PUBLISHED CVSS 7.1 HIGH

Reported by redhat · Published February 6, 2019

libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The function creating an outgoing NTLM type-3 header (`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`), generates the request HTTP header contents based on previously received data. The check that exists to prevent the local buffer from getting overflowed is implemented wrongly (using unsigned math) and as such it does not prevent the overflow from happening. This output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by the malicious or broken HTTP server. Such a 'large value' needs to be around 1000 bytes or more. The actual payload data copied to the target buffer comes from the NTLMv2 type-2 response header.

Risk scores

CVSS 3.0
7.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
The curl Projectcurl7.64.0
The curl Projectcurl7.64.0
amazon:2curl0
alpinecurl0, 0
amazon:2libcurl0
archlib32-libcurl-gnutls0
archlib32-curl0
archcurl0
amazon:2libcurl-devel0
archlib32-libcurl-compat0
archlibcurl-gnutls0

Timeline

  • Feb 5, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (25 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (34 in total, the first dated here)
  • Sep 10, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-3822
vulnetix vdb fixes CVE-2019-3822

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-2019-3822/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›