VDB

ALPINE-CVE-2019-3822

ALPINE-CVE-2019-3822 PUBLISHED CVSS 9.800000190734863 CRITICAL

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.

Risk Scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.13curl0, 7.19.2-r1, 0
Alpine:v3.8curl7.21.3-r1, 0, 0
Alpine:v3.24curl0, 0, 0
Alpine:v3.14curl7.19.5-r0, 7.53.1-r3, 7.24.0-r0
Alpine:v3.19curl7.34.0-r1, 7.29.0-r0, 7.50.2-r0
Alpine:v3.7curl7.52.1-r0, 0, 7.19.2-r0
Alpine:v3.23curl7.40.0-r0, 7.28.0-r0, 7.49.1-r0
Alpine:v3.15curl7.21.2-r0, 0, 7.19.2-r0
Alpine:v3.17curl0, 0, 0
Alpine:v3.9curl7.19.2-r1, 7.19.2-r0, 0
Alpine:v3.21curl7.58.0-r0, 0, 0
Alpine:v3.18curl7.19.2-r1, 7.32.0-r0, 0
Alpine:v3.16curl0, 0, 0
Alpine:v3.6curl7.42.1-r1, 0, 7.19.2-r1
Alpine:v3.10curl7.21.2-r0, 7.21.1-r0, 7.21.0-r0
Alpine:v3.20curl0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.22curl7.59.0-r1, 0, 7.19.2-r1
Alpine:v3.11curl7.21.5-r0, 7.21.4-r1, 7.19.2-r0
Alpine:v3.12curl0, 0, 0

Timeline

  • Feb 6, 2019 CVE Published
  • Jun 9, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›