CVE-2019-3822
The curl Project curl: Stack-based Buffer Overflow
Check your servers for CVE-2019-3822
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-3822 affects curl, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 13.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.0% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 15 Apr 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-121 Stack-based Buffer Overflow
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| curl |
affected 7.64.0
|
Is my server affected?
Find the installed version of curl and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i curl
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-3822 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-3822RHEL, Rocky, Alma, Fedora
rpm -q curl
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-3822Alpine
apk list --installed | grep -i curlWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-3822
trivy image --scanners vuln IMAGE | grep CVE-2019-3822
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- GLSA-201903-03 security.gentoo.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822 bugzilla.redhat.com
- DSA-4386 debian.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20190315-0001/ security.netapp.com
- USN-3882-1 usn.ubuntu.com · vendor advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf cert-portal.siemens.com
- https://security.netapp.com/advisory/ntap-20190719-0004/ security.netapp.com
- https://support.f5.com/csp/article/K84141449 support.f5.com
- https://support.f5.com/csp/article/K84141449?utm_source=f5support&%3Butm_medium=RSS support.f5.com
- RHSA-2019:3701 access.redhat.com · vendor advisory
Other references
- https://curl.haxx.se/docs/CVE-2019-3822.html curl.haxx.se
- 106950 securityfocus.com · vdb entry
- [infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to… lists.apache.org · mailing list
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html oracle.com
Source: the record CVE-2019-3822 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse