CVE-2019-3822: canonical ubuntu_linux Stack-based Buffer Overflow
Vulnerability summary
CVE-2019-3822 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 12.87% chance of exploitation in the next 30 days, higher than 96.2% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 10 · Related 7Timeline
- 06-02-2019PublishedVulnerability first disclosed.
- 15-04-2026Last modifiedVulnerability information updated.
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 metrics
8 scores · 5 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.1HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
EPSS trend
Probability
12.87%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
0.00 pp
From 12.87% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (bugzilla.redhat.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Oracle6 products
- communications_operations_monitor3.4 | 4.0
- enterprise_manager_ops_center12.3.3 | 12.4.0
- http_server12.2.1.3.0
- mysql_server≤ 5.7.26 | ≥ 5.7.27, ≤ 8.0.15
- secure_global_desktop5.4
Netapp4 products
- active_iq_unified_manager≥ 7.3 (No fix recorded) | ≥ 9.5 (No fix recorded)
- oncommand_insightna
- oncommand_workflow_automationna
- snapcenterna
Debian2 products
- curl< 7.64.0-1
- debian_linuxEOL9.0
Alpine1 product
- curl< 7.64.0-r0 | < 7.61.1-r2
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04 | 18.10
Haxx1 product
- libcurl≥ 7.36.0, < 7.64.0
Redhat1 product
Siemens1 product
The curl project1 product
- curl7.64.0
Ubuntu1 product
- curl< 7.47.0-1ubuntu2.12 | < 7.58.0-2ubuntu3.6
10 vendors · 19 products
References
20 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822X Refsource CONFIRMExploitIssue TrackingPatchThird Party Advisory
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlX Refsource MISCPatchThird Party Advisory
Show all 20 references
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlX Refsource MISCPatchThird Party Advisory