← Vulnerability feed

Vulnerability record · CVE-2019-3822 · published 6 February 2019

CVE-2019-3822: Haxx libcurl stack-based buffer overflow vulnerability

Haxx · Libcurl

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.

9.8 CVSS 3.1 Critical EPSS 13% · top 3.8% CWE-121 · Stack-based buffer overflowCWE-787 · Out-of-bounds write
9.8CVSS 3.1 base score, v2 7.5
13%EPSS exploitation probability, 30 days
NoNot in CISA KEV
16Affected product versions listed by NVD
30References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

16 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.securityfocus.com/bid/106950 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2019:3701 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822 ExploitIssue TrackingPatchThird Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf Third Party Advisory
https://curl.haxx.se/docs/CVE-2019-3822.html PatchVendor Advisory
https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.
https://security.gentoo.org/glsa/201903-03 Third Party Advisory
https://security.netapp.com/advisory/ntap-20190315-0001/ PatchThird Party Advisory
https://security.netapp.com/advisory/ntap-20190719-0004/ Third Party Advisory
https://support.f5.com/csp/article/K84141449 Third Party Advisory
https://support.f5.com/csp/article/K84141449?utm_source=f5support&amp%3Butm_medium=RSS
https://usn.ubuntu.com/3882-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4386 Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html PatchThird Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html PatchThird Party Advisory
http://www.securityfocus.com/bid/106950 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2019:3701 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822 ExploitIssue TrackingPatchThird Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf Third Party Advisory
https://curl.haxx.se/docs/CVE-2019-3822.html PatchVendor Advisory
https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.
https://security.gentoo.org/glsa/201903-03 Third Party Advisory
https://security.netapp.com/advisory/ntap-20190315-0001/ PatchThird Party Advisory
https://security.netapp.com/advisory/ntap-20190719-0004/ Third Party Advisory
https://support.f5.com/csp/article/K84141449 Third Party Advisory
https://support.f5.com/csp/article/K84141449?utm_source=f5support&amp%3Butm_medium=RSS
https://usn.ubuntu.com/3882-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4386 Third Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html PatchThird Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html PatchThird Party Advisory

Track CVE-2019-3822 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2019-3822), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.