CVE & CISA-KEV Catalog

CVE-2019-3822

CRITICALEPSS 96th pctl
9.8
CVSS v3
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.

How to fix

Remediation Available
curlDebian
Fixed in:7.64.0-1CVE-2019-3822
Fixed in:7.64.0-1CVE-2019-3822
Fixed in:7.64.0-1CVE-2019-3822
Fixed in:7.64.0-1CVE-2019-3822
curlUbuntu
Fixed in:7.35.0-1ubuntu2.20USN-3882-1
Fixed in:7.47.0-1ubuntu2.12USN-3882-1
Fixed in:7.58.0-2ubuntu3.6USN-3882-1
libcurl3Ubuntu
Fixed in:7.35.0-1ubuntu2.20USN-3882-1
Fixed in:7.47.0-1ubuntu2.12USN-3882-1
libcurl3-gnutlsUbuntu
Fixed in:7.35.0-1ubuntu2.20USN-3882-1
Fixed in:7.47.0-1ubuntu2.12USN-3882-1
Fixed in:7.58.0-2ubuntu3.6USN-3882-1
libcurl3-nssUbuntu
Fixed in:7.35.0-1ubuntu2.20USN-3882-1
Fixed in:7.47.0-1ubuntu2.12USN-3882-1
Fixed in:7.58.0-2ubuntu3.6USN-3882-1
libcurl4Ubuntu
Fixed in:7.58.0-2ubuntu3.6USN-3882-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

12.77%probability of exploitation in 30 days
96thpercentile

Very high risk: more likely to be exploited than 96% of all known CVEs.

References

Related Vulnerabilities

Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2009-0927High8.897%KEVFix
CVE-2020-10924High8.887%--
CVE-2022-20705Critical10.080%--

Common questions

How do I fix CVE-2019-3822?

Published advisories record a fix for 6 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2019-3822 being actively exploited?

Not that we know of. CVE-2019-3822 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 12.8% is the estimated probability that it will be exploited in the next 30 days. That is higher than 96% of all scored CVEs.

How severe is CVE-2019-3822?

CVE-2019-3822 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2019-3822 affect?

Published advisories record a fix for curl (Debian), curl (Ubuntu), libcurl3 (Ubuntu), libcurl3-gnutls (Ubuntu), and 2 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2019-3822
CVE-2019-3822 severity badge

Markdown

[![CVE-2019-3822](https://tridentstack.com/cve/badge/CVE-2019-3822.svg)](https://tridentstack.com/cve/CVE-2019-3822)

HTML

<a href="https://tridentstack.com/cve/CVE-2019-3822"><img src="https://tridentstack.com/cve/badge/CVE-2019-3822.svg" alt="CVE-2019-3822"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.