Original description
When curl retrieves an HTTP response, it stores the incoming headers so that they can be accessed later via the libcurl headers API. However, curl did not have a limit in how many or how large headers it would accept in a response, allowing a malicious server to stream an endless series of headers and eventually cause curl to run out of heap memory.
Affected software
- curl ≥ 7.84.0 < 8.3.0 Fixed in: 8.3.0 exact match
Details
- Published
- 2023-09-15
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-770
- EPSS (30-day exploit probability)
- 56.21% (percentile 99)
References
- cve.org/CVE-2023-38039
- nvd.nist.gov/vuln/detail/CVE-2023-38039
- seclists.org/fulldisclosure/2023/Oct/17
- seclists.org/fulldisclosure/2024/Jan/34
- seclists.org/fulldisclosure/2024/Jan/37
- seclists.org/fulldisclosure/2024/Jan/38
- hackerone.com/reports/2072338
- lists.fedoraproject.org/archives/list/[email protected]/message/5DC...
- lists.fedoraproject.org/archives/list/[email protected]/message/M6K...
- lists.fedoraproject.org/archives/list/[email protected]/message/TEA...
- security.gentoo.org/glsa/202310-12
- security.netapp.com/advisory/ntap-20231013-0005/
- support.apple.com/kb/HT214036
- support.apple.com/kb/HT214057
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.