Skip to content
Fencer Intel
high 7.1

CVE-2019-3822 in the critical feed json

libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow.

published 7y ago modified 4mo ago also EUVD-2019-13445

cvss
7.1
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
12.9%
EPSS 12.9% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known

Summary

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.

Patch / fix

  • haxx libcurl 7.64.0
  • curl Debian 14, Debian 13, Debian 12 7.64.0-1

debian advisories DEBIAN-CVE-2019-3822

  • curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.12
  • curl Ubuntu 18.04 LTS 7.58.0-2ubuntu3.6

ubuntu advisories UBUNTU-CVE-2019-3822

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl RHEL 8 7.61.1-11.el8
  • libcurl RHEL 8 7.61.1-11.el8
  • libcurl-minimal RHEL 8 7.61.1-11.el8

red hat advisories RHSA-2019:3701

  • curl SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +9 more 7.37.0-37.34.1
  • curl SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 7.60.0-4.3.1
  • curl SLE Module for Basesystem 15 7.60.0-3.17.1

suse advisories SUSE-SU-2019:0249-2SUSE-SU-2019:0339-1SUSE-SU-2019:0249-1SUSE-SU-2019:0248-1

  • curl openSUSE Tumbleweed 7.79.1-1.1
  • curl openSUSE Leap 15.0 7.60.0-lp150.2.18.1
  • curl-mini openSUSE Leap 15.0 7.60.0-lp150.2.18.1

opensuse advisories openSUSE-SU-2024:10582-1openSUSE-SU-2019:0174-1

  • curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 7.64.0-r0
  • curl Alpine 3.8, Alpine 3.7, Alpine 3.6 7.61.1-r2

alpine advisories ALPINE-CVE-2019-3822

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl Arch Linux 7.64.0-1
  • lib32-curl Arch Linux 7.64.0-1
  • lib32-libcurl-compat Arch Linux 7.64.0-1
  • lib32-libcurl-gnutls Arch Linux 7.64.0-1
  • libcurl-gnutls Arch Linux 7.64.0-1

arch linux advisories AVG-873AVG-874AVG-875AVG-876AVG-877

Is CVE-2019-3822 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-3822 updated cvss 5.3

curl: NTLMv2 type-3 header stack buffer overflow

  • Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl Red Hat .NET Core 2.2 on Red Hat Enterprise Linux rh-dotnet22-curl, rh-dotnet22-libcurl
    affected: workaround, no fix planned “Turn off NTLM authentication.”
  • Red Hat JBoss Core Services jbcs-httpd24-curl jbcs-httpd24-curl
    affected: workaround, no fix available “Turn off NTLM authentication.”
  • Red Hat Software Collections httpd24-curl, httpd24-libcurl
    affected: workaround, no fix planned “Turn off NTLM authentication.”
  • Red Hat JBoss Core Services Apache HTTP Server 2.4.29 SP2
    fixed: vendor fix “Turn off NTLM authentication.” RHSA-2019:1543
  • Red Hat Enterprise Linux BaseOS (v. 8) curl 7.61.1-11.el8, libcurl 7.61.1-11.el8, libcurl-minimal 7.61.1-11.el8
    fixed: vendor fix “Turn off NTLM authentication.” RHSA-2019:3701
  • Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat JBoss Web Server 5 curl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-19-099-04 updated cvss 8.1

Siemens SINEMA Remote Connect (Update A)

  • Siemens SINEMA Remote Connect Client All versions < V2.0 HF1
    affected: fixed in V2.0, mitigation support.industry.siemens.com
  • Siemens SINEMA Remote Connect Server All versions < V2.0
    affected: vendor fix, mitigation

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

cisa ICSA-21-068-10 updated cvss 8.1

Siemens SCALANCE and SIMATIC libcurl (Update B)

  • Siemens SINEMA Remote Connect Client <V2.0_HF1
    affected: fixed in V2.0, mitigation

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6mo ago

Exploit prediction

12.87% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 7.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • The curl Project curl

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.