CVE-2023-23916
Description
A malloc bomb in curl <7.88.0, caused by an unlimited decompression chain in HTTP compression headers.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A malloc bomb in curl <7.88.0, caused by an unlimited decompression chain in HTTP compression headers.
Vulnerability
Curl versions prior to 7.88.0 are vulnerable to a resource exhaustion flaw in the handling of chained HTTP compression algorithms. A server response can be compressed multiple times using different algorithms, and while a per-header cap on decompression steps was implemented, the cap is applied on a per-header basis [1]. This allows a malicious server to insert a virtually unlimited number of compression steps by using many headers, leading to excessive heap memory allocation—a "malloc bomb". [2] The vulnerability is triggered when curl receives a crafted HTTP response with numerous Content-Encoding or similar headers that chain decompression steps.
Exploitation
An attacker controlling a server (e.g., via a man-in-the-middle position, or by tricking the user to connect to a malicious server) can send a crafted HTTP response with many compression headers. No special authentication or write access is needed on the client side. The curl client, upon receiving such a response, will attempt to decompress each header sequentially, allocating heap memory for each step. A sufficiently long chain can exhaust available memory, leading to an out-of-memory condition or excessive CPU usage.
Impact
Successful exploitation results in denial of service (DoS) due to memory exhaustion. curl may allocate enormous amounts of heap memory, potentially causing the application to crash or become unresponsive. There is no direct information disclosure, file write, or remote code execution from this vulnerability alone. The impact is limited to availability, but the attack can be performed from a remote, unauthenticated position.
Mitigation
The vulnerability is fixed in curl version 7.88.0 and later [1]. Users should upgrade to the latest version. Gentoo users have been advised to upgrade to >=net-misc/curl-8.3.0-r2 as part of a GLSA [2]. No workaround is available for affected versions; upgrading is the only mitigation.
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
27- osv-coords25 versionspkg:rpm/almalinux/curlpkg:rpm/almalinux/curl-minimalpkg:rpm/almalinux/libcurlpkg:rpm/almalinux/libcurl-develpkg:rpm/almalinux/libcurl-minimalpkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%20Micro%205.3pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/suse/curl&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 7.61.1-25.el8_7.3+ 24 more
- (no CPE)range: < 7.61.1-25.el8_7.3
- (no CPE)range: < 7.76.1-19.el9_1.2
- (no CPE)range: < 7.61.1-25.el8_7.3
- (no CPE)range: < 7.61.1-25.el8_7.3
- (no CPE)range: < 7.61.1-25.el8_7.3
- (no CPE)range: < 7.79.1-150400.5.15.1
- (no CPE)range: < 7.79.1-150400.5.15.1
- (no CPE)range: < 7.88.1-1.1
- (no CPE)range: < 7.60.0-150000.51.1
- (no CPE)range: < 7.60.0-150000.51.1
- (no CPE)range: < 7.66.0-150200.4.52.1
- (no CPE)range: < 7.66.0-150200.4.52.1
- (no CPE)range: < 7.79.1-150400.5.15.1
- (no CPE)range: < 7.79.1-150400.5.15.1
- (no CPE)range: < 7.66.0-150200.4.52.1
- (no CPE)range: < 7.60.0-4.56.1
- (no CPE)range: < 7.60.0-4.56.1
- (no CPE)range: < 7.60.0-11.55.1
- (no CPE)range: < 7.60.0-150000.51.1
- (no CPE)range: < 7.60.0-4.56.1
- (no CPE)range: < 7.60.0-11.55.1
- (no CPE)range: < 7.60.0-150000.51.1
- (no CPE)range: < 7.60.0-11.55.1
- (no CPE)range: < 7.60.0-4.56.1
- (no CPE)range: < 7.60.0-4.56.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
6- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BQKE6TXYDHOTFHLTBZ5X73GTKI7II5KO/mitrevendor-advisory
- security.gentoo.org/glsa/202310-12mitrevendor-advisory
- www.debian.org/security/2023/dsa-5365mitrevendor-advisory
- lists.debian.org/debian-lts-announce/2023/02/msg00035.htmlmitremailing-list
- hackerone.com/reports/1826048mitre
- security.netapp.com/advisory/ntap-20230309-0006/mitre
News mentions
0No linked articles in our index yet.