CVE-2019-3822

CRITICAL
9.8
CVSS Score
Published: February 6, 2019 at 08:00 PM UTC
Updated: June 17, 2026 at 02:35 AM UTC
17 products affected across 7 vendorsDebian LinuxUbuntu LinuxEnterprise Linux

Using curl by The curl Project?

Get instant alerts when new vulnerabilities affect curl - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 13%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.36.0 ≤ v < 7.64.0
Affected range stops below 7.64.0, so it looks safe — our inference, not a vendor statement
v ≥ 7.3v ≥ 9.5
All versions
All versions

References (15)

VDB Entryx_refsource_BIDThird Party Advisory
http://www.securityfocus.com/bid/106950
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:3701
x_refsource_CONFIRMExploitIssue TrackingPatchThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822
x_refsource_MISCPatchVendor Advisory
https://curl.haxx.se/docs/CVE-2019-3822.html
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/201903-03
x_refsource_CONFIRMPatchThird Party Advisory
https://security.netapp.com/advisory/ntap-20190315-0001/

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-121CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card