Original description
When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application.
Affected software
- curl ≥ 7.44.0 < 8.7.0 Fixed in: 8.7.0 exact match
Details
- Published
- 2024-03-27
- Last modified
- 2026-10-15
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L- CWE
- CWE-772
- EPSS (30-day exploit probability)
- 36.08% (percentile 99)
References
- cve.org/CVE-2024-2398
- nvd.nist.gov/vuln/detail/CVE-2024-2398
- seclists.org/fulldisclosure/2024/Jul/18
- seclists.org/fulldisclosure/2024/Jul/19
- seclists.org/fulldisclosure/2024/Jul/20
- www.openwall.com/lists/oss-security/2024/03/27/3
- curl.se/docs/CVE-2024-2398.html
- curl.se/docs/CVE-2024-2398.json
- hackerone.com/reports/2402845
- lists.fedoraproject.org/archives/list/[email protected]/message/2D4...
- lists.fedoraproject.org/archives/list/[email protected]/message/GMD...
- security.netapp.com/advisory/ntap-20240503-0009/
- support.apple.com/kb/HT214118
- support.apple.com/kb/HT214119
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.