CVE-2019-3822: Buffer Overflow

Published Jan 29, 2019
·
Updated

Last updated 25 August 2025

Other sources

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:Curlauthcreatentlmtype3message()), 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.

Bug introduced by:

https://github.com/curl/curl/commit/86724581b6c

Red Hat

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:Curlauthcreatentlmtype3message()), 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.

Launchpad

Affected Software

25 affected componentsFixes available
redhat/curl<7.64.0
7.64.0
haxx libcurl>=7.36.0<7.64.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
Debian Debian Linux=9.0
NetApp Active Iq Unified Manager Windows>=7.3
NetApp Active Iq Unified Manager Vsphere>=9.5
NetApp Clustered Data ONTAP
NetApp OnCommand Insight
NetApp OnCommand Workflow Automation
NetApp Snapcenter
Siemens Sinema Remote Connect Client<=2.0
Oracle Communications Operations Monitor=3.4
Oracle Communications Operations Monitor=4.0
Oracle Enterprise Manager Ops Center=12.3.3
Oracle Enterprise Manager Ops Center=12.4.0
Oracle HTTP Server=12.2.1.3.0
Oracle MySQL Server<=5.7.26
Oracle MySQL Server>=5.7.27<=8.0.15
Oracle Secure Global Desktop=5.4
Oracle Services Tools Bundle=19.2
redhat Enterprise Linux=8.0
debian/curl
7.74.0-1.3+deb11u137.74.0-1.3+deb11u167.88.1-10+deb12u147.88.1-10+deb12u58.14.1-2+deb13u28.19.0-38.20.0~rc2-1

Event History

Feb 6, 2019
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Feb 20, 2026
Data Sourced
via Ubuntu·05:45 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·05:46 PM
Description
Apr 15, 2026
Data Sourced
via Debian·09:20 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-3822?

CVE-2019-3822 is a vulnerability in libcurl versions from 7.36.0 to before 7.64.0 that allows a stack-based buffer overflow.

2

What is the severity of CVE-2019-3822?

CVE-2019-3822 has a severity rating of 9.8 (Critical).

3

How does CVE-2019-3822 affect software?

CVE-2019-3822 affects the curl package in Debian, Red Hat, Canonical Ubuntu Linux, NetApp, Siemens, Oracle, and other software.

4

How can I fix CVE-2019-3822?

To fix CVE-2019-3822, upgrade to version 7.64.0 or later of the libcurl package.

5

Where can I find more information about CVE-2019-3822?

You can find more information about CVE-2019-3822 at the following references: - [CVE-2019-3822](https://curl.haxx.se/docs/CVE-2019-3822.html) - [CVE-2019-3822 Git Commit 1](https://github.com/curl/curl/commit/50c9484278c63b958655a717844f0721263939cc) - [CVE-2019-3822 Git Commit 2](https://github.com/curl/curl/commit/86724581b6c02d160b52f817550cfdfc9c93af62)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203