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

CVE-2019-3822 affects 160 listed versions of Oracle MySQL in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
13%EPSS (next 30 days)
6 February 2019published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Oracle MySQL

160 of 221 listed versions are affected. No fixed release is named. The newest release, 26.10.0, is not affected.

7.6.29 7.6.21 7.6.20 7.6.15 7.6.14 7.6.13 7.5.33 7.5.25 7.5.24 7.5.19 7.5.18 7.5.17 7.4.35 7.4.34 7.4.29 7.4.28 7.4.27 7.3.30 7.3.29 7.3.28 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 5.7.44 5.7.43 5.7.42 5.7.41 5.7.40 5.7.39 5.7.38 5.7.37 5.7.36 5.7.35 5.7.34 5.7.33 5.7.32 5.7.31 5.7.30 5.6.51 5.6.50 5.6.49 5.6.48 5.6.47 5.6.46 5.6.45 5.6.44 5.6.43 5.6.42 5.6.41 5.6.40 5.6.39 5.6.38 5.6.37 5.5.63 5.5.62 5.5.61 5.5.60 and 100 more

What it is

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.

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

Published by Red Hat on 6 February 2019. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2019-3822 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.