CVE-2022-32206
Description
An unbounded chained HTTP compression chain in curl < 7.84.0 allows a malicious server to cause a malloc bomb, leading to high memory consumption or out-of-memory errors.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An unbounded chained HTTP compression chain in curl < 7.84.0 allows a malicious server to cause a malloc bomb, leading to high memory consumption or out-of-memory errors.
Vulnerability
In curl versions prior to 7.84.0, HTTP responses can be compressed using multiple chained algorithms (e.g., gzip, deflate, brotli). The number of acceptable compression steps was capped per header, but the cap was insufficient—a malicious server could insert a virtually unlimited number of compression steps by using many different headers. This results in a "malloc bomb" where the decompression process allocates huge amounts of heap memory, leading to denial of service via excessive memory consumption or out-of-memory errors [1][2].
Exploitation
An attacker controlling a server (or capable of man-in-the-middle attacks) can craft an HTTP response with multiple Content-Encoding headers, each specifying a compression algorithm. The client will attempt to decompress each layer, triggering repeated memory allocations. No authentication or user interaction beyond requesting a resource from the malicious server is required. The attack is straightforward: the server sends the crafted response, and curl processes it automatically, consuming memory until the system runs out [1][2].
Impact
Successful exploitation leads to a denial of service (DoS) by exhausting available heap memory on the client system. The curl process may crash or become unresponsive. This is a high-severity issue as it can be triggered remotely without user awareness, affecting applications using libcurl with default decompression handling [1][2].
Mitigation
The vulnerability is fixed in curl version 7.84.0 by limiting the total number of compression steps across all headers. Users should upgrade to curl >= 7.84.0. Apple addressed this issue in macOS Ventura 13 (released October 24, 2022) as part of security updates [1]. Gentoo recommends upgrading to >=net-misc/curl-7.86.0 [4]. There is no known workaround; updating is the only mitigation [4].
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
41- osv-coords39 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.3pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%20Micro%205.2pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/suse/curl&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/curl&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-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%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg: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-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015-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%2015pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/curl&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/curl&distro=SUSE%20Manager%20Server%204.1pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/curl&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 7.76.1-14.el9_0.5+ 38 more
- (no CPE)range: < 7.76.1-14.el9_0.5
- (no CPE)range: < 7.76.1-14.el9_0.5
- (no CPE)range: < 7.76.1-14.el9_0.5
- (no CPE)range: < 7.76.1-14.el9_0.5
- (no CPE)range: < 7.76.1-14.el9_0.5
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.79.1-150400.5.3.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.84.0-1.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.79.1-150400.5.3.1
- (no CPE)range: < 7.60.0-4.38.1
- (no CPE)range: < 7.60.0-11.43.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.60.0-4.38.1
- (no CPE)range: < 7.60.0-11.43.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.60.0-150000.33.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.60.0-11.43.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.66.0-150200.4.36.1
- (no CPE)range: < 7.60.0-4.38.1
- (no CPE)range: < 7.60.0-4.38.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
11- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/mitrevendor-advisory
- security.gentoo.org/glsa/202212-01mitrevendor-advisory
- www.debian.org/security/2022/dsa-5197mitrevendor-advisory
- seclists.org/fulldisclosure/2022/Oct/28mitremailing-list
- seclists.org/fulldisclosure/2022/Oct/41mitremailing-list
- www.openwall.com/lists/oss-security/2023/02/15/3mitremailing-list
- lists.debian.org/debian-lts-announce/2022/08/msg00017.htmlmitremailing-list
- cert-portal.siemens.com/productcert/pdf/ssa-333517.pdfmitre
- hackerone.com/reports/1570651mitre
- security.netapp.com/advisory/ntap-20220915-0003/mitre
- support.apple.com/kb/HT213488mitre
News mentions
0No linked articles in our index yet.