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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The curl Project | curl | 7.64.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | 7.64.0-1 | — |
| Debian 13 | curl | 7.64.0-1 | — |
| Debian 12 | curl | 7.64.0-1 | — |
| Debian 9 | curl | 7.52.1-5+deb9u9 | DSA-4386-1 |
| Debian 8 | curl | 7.38.0-4+deb8u14 | DLA-1672-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | curl | 7.58.0-2ubuntu3.6 | USN-3882-1 |
| Ubuntu 16.04 LTS | curl | 7.47.0-1ubuntu2.12 | USN-3882-1 |
| Ubuntu 14.04 LTS | curl | 7.35.0-1ubuntu2.20 | USN-3882-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | curl +3 | 7.61.1-11.el8 | RHSA-2019:3701 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | curl | 7.60.0-3.17.1 | SUSE-SU-2019:0248-1 |
| SLES 12 SP4 | curl | 7.60.0-4.3.1 | SUSE-SU-2019:0339-1 |
| SLES 12 SP3 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
| SLES 12 SP2 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
| SLES 12 SP1 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
| SLES for SAP 12 SP4 | curl | 7.60.0-4.3.1 | SUSE-SU-2019:0339-1 |
| SLES for SAP 12 SP3 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
| SLES for SAP 12 SP2 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
| SLES for SAP 12 SP1 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-2 |
| SUSE OpenStack Cloud 7 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
| SUSE Enterprise Storage 4 | curl | 7.37.0-37.34.1 | SUSE-SU-2019:0249-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 7.79.1-1.1 | openSUSE-SU-2024:10582-1 |
| openSUSE Leap 15.0 | curl +1 | 7.60.0-lp150.2.18.1 | openSUSE-SU-2019:0174-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 7.64.0-r0 | — |
| Alpine v3.23 | curl | 7.64.0-r0 | — |
| Alpine v3.22 | curl | 7.64.0-r0 | — |
| Alpine v3.21 | curl | 7.64.0-r0 | — |
| Alpine v3.20 | curl | 7.64.0-r0 | — |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | curl | 7.64.0-r0 | — |
| Alpine v3.18 | curl | 7.64.0-r0 | — |
| Alpine v3.17 | curl | 7.64.0-r0 | — |
| Alpine v3.16 | curl | 7.64.0-r0 | — |
| Alpine v3.15 | curl | 7.64.0-r0 | — |
| Alpine v3.14 | curl | 7.64.0-r0 | — |
| Alpine v3.13 | curl | 7.64.0-r0 | — |
| Alpine v3.12 | curl | 7.64.0-r0 | — |
| Alpine v3.11 | curl | 7.64.0-r0 | — |
| Alpine v3.10 | curl | 7.64.0-r0 | — |
| Alpine v3.9 | curl | 7.64.0-r0 | — |
| Alpine v3.8 | curl | 7.61.1-r2 | — |
| Alpine v3.7 | curl | 7.61.1-r2 | — |
| Alpine v3.6 | curl | 7.61.1-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | curl +2 | 7.61.1-9.amzn2.0.1 | ALAS2-2019-1162 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | curl +3 | 7.61.1-11.el8 | ELSA-2019-3701 |
Advisories 18
- WID-SEC-2026-4026 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2019:3701 Red Hat Security Advisory: curl security and bug fix update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- USN-3882-1 curl vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4386-1 curl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1672-1 curl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10582-1 curl-7.79.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0249-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0339-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:0174-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0249-2 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0248-1 Security update for curl SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2025-1212 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 2, 2025
- WID-SEC-2023-1640 cURL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 4, 2025
- ICSA-19-099-04 Siemens SINEMA Remote Connect (Update A) CISA ICS & IT advisories · Mar 9, 2021
- ICSA-21-068-10 Siemens SCALANCE and SIMATIC libcurl (Update B) CISA ICS & IT advisories · Mar 9, 2021
- ELSA-2019-3701 Moderate: curl security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 14, 2019
- ALAS2-2019-1162 Moderate: curl security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 18, 2019
References
- GLSA-201903-03 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822
- DSA-4386 vendor-advisory
- https://curl.haxx.se/docs/CVE-2019-3822.html
- https://security.netapp.com/advisory/ntap-20190315-0001/
- USN-3882-1 vendor-advisory
- 106950 vdb-entry
- [infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to new base image jdk8u202-b08_openj9-0.12.1. mailing-list
- https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://security.netapp.com/advisory/ntap-20190719-0004/
- https://support.f5.com/csp/article/K84141449
- https://support.f5.com/csp/article/K84141449?utm_source=f5support&%3Butm_medium=RSS
- RHSA-2019:3701 vendor-advisory