CVEfocus › CVE database › CVE-2024-2398

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

CVSS 8.6 HighEPSS 2.5% (higher than 86% of CVEs)Published 2024-03-27Updated 2026-10-15Assigner: curl

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

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

33Fixed
2Fix pending
6Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04curlFixed8.5.0-2ubuntu10.1UBUNTU-CVE-2024-2398
Ubuntu 22.04curlFixed7.81.0-1ubuntu1.16UBUNTU-CVE-2024-2398
Ubuntu 20.04curlFixed7.68.0-1ubuntu2.22UBUNTU-CVE-2024-2398
Ubuntu 18.04curlFix pending7.58.0-2ubuntu3.24+esm4 (Ubuntu Pro)UBUNTU-CVE-2024-2398
Ubuntu 16.04curlFix pending7.47.0-1ubuntu2.19+esm12 (Ubuntu Pro)UBUNTU-CVE-2024-2398
Debian 14curlFixed8.7.1-1DEBIAN-CVE-2024-2398
Debian 13curlFixed8.7.1-1DEBIAN-CVE-2024-2398
Debian 12curlFixed7.88.1-10+deb12u6DEBIAN-CVE-2024-2398
Red Hat Enterprise Linux 10curlNot affected
Red Hat Enterprise Linux 10libcurlNot affected
Red Hat Enterprise Linux 10libcurl-develNot affected
Red Hat Enterprise Linux 10libcurl-minimalNot affected
Red Hat Enterprise Linux 9curlFixed0:7.76.1-29.el9_4.1RHSA-2024:5529
Red Hat Enterprise Linux 9curl-minimalFixed0:7.76.1-29.el9_4.1RHSA-2024:5529
Red Hat Enterprise Linux 9libcurlFixed0:7.76.1-29.el9_4.1RHSA-2024:5529
Red Hat Enterprise Linux 9libcurl-develFixed0:7.76.1-29.el9_4.1RHSA-2024:5529
Red Hat Enterprise Linux 9libcurl-minimalFixed0:7.76.1-29.el9_4.1RHSA-2024:5529
Red Hat Enterprise Linux 8curlFixed0:7.61.1-34.el8_10.2RHSA-2024:5654
Red Hat Enterprise Linux 8libcurlFixed0:7.61.1-34.el8_10.2RHSA-2024:5654
Red Hat Enterprise Linux 8libcurl-develFixed0:7.61.1-34.el8_10.2RHSA-2024:5654
Red Hat Enterprise Linux 8libcurl-minimalFixed0:7.61.1-34.el8_10.2RHSA-2024:5654
Red Hat Enterprise Linux 7curlWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcurlWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcurl-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6curlWill not fix
Out of support scope
Red Hat Enterprise Linux 6libcurlWill not fix
Out of support scope
Red Hat Enterprise Linux 6libcurl-develWill not fix
Out of support scope
AlmaLinux 9curlFixed7.76.1-29.el9_4.1ALSA-2024:5529
AlmaLinux 9curl-minimalFixed7.76.1-29.el9_4.1ALSA-2024:5529
AlmaLinux 9libcurlFixed7.76.1-29.el9_4.1ALSA-2024:5529
AlmaLinux 9libcurl-develFixed7.76.1-29.el9_4.1ALSA-2024:5529
AlmaLinux 9libcurl-minimalFixed7.76.1-29.el9_4.1ALSA-2024:5529
AlmaLinux 8curlFixed7.61.1-34.el8_10.2ALSA-2024:5654
AlmaLinux 8libcurlFixed7.61.1-34.el8_10.2ALSA-2024:5654
AlmaLinux 8libcurl-develFixed7.61.1-34.el8_10.2ALSA-2024:5654
AlmaLinux 8libcurl-minimalFixed7.61.1-34.el8_10.2ALSA-2024:5654
Rocky Linux 8curlFixed0:7.61.1-34.el8_10.2RLSA-2024:5654
Alpine Linux 3.24curlFixed8.7.1-r0ALPINE-CVE-2024-2398
Alpine Linux 3.23curlFixed8.7.1-r0ALPINE-CVE-2024-2398
Alpine Linux 3.22curlFixed8.7.1-r0ALPINE-CVE-2024-2398
Alpine Linux 3.21curlFixed8.7.1-r0ALPINE-CVE-2024-2398
Alpine Linux 3.20curlFixed8.7.1-r0ALPINE-CVE-2024-2398
Alpine Linux 3.19curlFixed8.7.1-r0ALPINE-CVE-2024-2398
Alpine Linux 3.18curlFixed8.7.1-r0ALPINE-CVE-2024-2398
Alpine Linux 3.17curlFixed8.7.1-r0ALPINE-CVE-2024-2398

What the vendor says

As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.