cve.bz

CVE-2019-3822 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 13%Fix available

Critical (9.8). EPSS 13% estimated probability of exploitation activity in the next 30 days.

On this page
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 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
13% (unchanged from 13% a week ago; 13% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-3822 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-3822?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-3822?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-3822 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:libcurlfrom 7.36.0 before 7.64.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
debian:debian_linux9.0
netapp:active_iq_unified_manager7.3 and later
netapp:active_iq_unified_manager9.5 and later
siemens:sinema_remote_connect_clientthrough 2.0
oracle:communications_operations_monitor3.4
oracle:communications_operations_monitor4.0
oracle:enterprise_manager_ops_center12.3.3
oracle:enterprise_manager_ops_center12.4.0
oracle:http_server12.2.1.3.0
oracle:mysql_serverthrough 5.7.26
oracle:mysql_serverfrom 5.7.27 through 8.0.15
oracle:secure_global_desktop5.4
oracle:services_tools_bundle19.2
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8curl7.38.0-4+deb8u14DLA-1672-1
Debian9curl7.52.1-5+deb9u9DSA-4386-1
Debian12, 13, 14curl7.64.0-1DEBIAN-CVE-2019-3822
Ubuntu14.04:LTScurl7.35.0-1ubuntu2.20USN-3882-1
Ubuntu16.04:LTScurl7.47.0-1ubuntu2.12UBUNTU-CVE-2019-3822 USN-3882-1
Ubuntu18.04:LTScurl7.58.0-2ubuntu3.6UBUNTU-CVE-2019-3822 USN-3882-1
Red Hatenterprise_linux:8::baseoscurl, libcurl, libcurl-devel and 6 more0:7.61.1-11.el8RHSA-2019:3701
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 8 morecurl7.37.0-37.34.1SUSE-SU-2019:0249-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 and 1 morecurl7.60.0-4.3.1SUSE-SU-2019:0339-1
SUSELinux Enterprise Module for Basesystem 15curl7.60.0-3.17.1SUSE-SU-2019:0248-1
SUSELinux Enterprise Server for SAP Applications 12 SP1curl7.37.0-37.34.1SUSE-SU-2019:0249-2
openSUSELeap 15.0curl, curl-mini7.60.0-lp150.2.18.1openSUSE-SU-2019:0174-1
openSUSETumbleweedcurl7.79.1-1.1openSUSE-SU-2024:10582-1
Alpinev3.6, v3.7, v3.8curl7.61.1-r2ALPINE-CVE-2019-3822
Alpinev3.9, v3.10, v3.11 and 13 morecurl7.64.0-r0ALPINE-CVE-2019-3822

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The versions of curl package shipped with Red Hat Enterprise Linux 5, 6, and 7 do not support NTLMv2 type-3 headers, hence they are not affected by this flaw.

Red Hat's mitigation

Turn off NTLM authentication.

ProductPackageStateAdvisory
JBoss Core Services Apache HTTP Server 2.4.29 SP2Fixed 2019-06-18RHSA-2019:1543
Red Hat Enterprise Linux 8curl-0:7.61.1-11.el8Fixed 2019-11-05RHSA-2019:3701
.NET Core 1.0 on Red Hat Enterprise Linuxrh-dotnetcore10-curlOut of support scope
.NET Core 1.1 on Red Hat Enterprise Linuxrh-dotnetcore11-curlOut of support scope
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21-curlWill not fix
.NET Core 2.2 on Red Hat Enterprise Linuxrh-dotnet22-curlOut of support scope
Red Hat Enterprise Linux 5curlNot affected
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat JBoss Core Servicesjbcs-httpd24-curlAffected
Red Hat JBoss Web Server 5curlNot affected
Red Hat Software Collectionshttpd24-curlWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-3822.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-19-099-04Siemens SINEMA Remote Connect (Update A)2019-04-09Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and WastewaterSINEMA Remote Connect Client: All versions < V2.0 HF1, SINEMA Remote Connect Server: All versions < V2.0none listed
ICSA-21-068-10Siemens SCALANCE and SIMATIC libcurl (Update B)2019-04-09MultipleSiemens SINEMA Remote Connect Client: All versions < V2.0 HF1none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON