Skip to content
OpenAdvisories
High · 7.1 CVE-2019-3822 EUVD-2019-13445GHSA-8wr2-mqj7-7vxp

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-…

Published Feb 6, 2019 · Updated Apr 15, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
RHEL 8 curl +3 7.61.1-11.el8 RHSA-2019:3701
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2 curl +2 7.61.1-9.amzn2.0.1 ALAS2-2019-1162

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 curl +3 7.61.1-11.el8 ELSA-2019-3701

Advisories 18

References