All vulnerabilities

Servers and applications

CVE-2026-48044

Zstd Decompressor: Ratio Check at Wrong Loop Depth lead to memory explosion

Severity
High 7.5
Published
23 Jun 2026
Last changed
25 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.35.13, 1.36.9, 1.37.5, 1.38.3
Exploit chance
0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Decompression bomb (CWE-409)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Also known as
GHSA-m3p9-47wh-88wg
Sources
NVD, Project advisories (GitHub)

Description

A vulnerability has been identified in Envoy's zstd decompressor implementation (ZstdDecompressorImpl). When zstd decompression is enabled, processing a specially crafted, highly compressed zstd payload can lead to massive memory allocation. An attacker can exploit this to cause severe memory exhaustion, potentially resulting in an Out-Of-Memory (OOM) kill and Denial of Service (DoS) for the Envoy proxy.

The root cause lies in how inflation limits are enforced during decompression. Envoy correctly defines a MaxInflateRatio to prevent decompression bombs. However, the size check evaluation is incorrectly placed outside the inner execution loop.

In ZstdDecompressorImpl::decompress, the decompressor's outer loop iterates over the input buffer slices, making a check against MaxInflateRatio only after the process() call returns.

The process() method itself loops internally until the entire input slice is completely drained:

From envoyproxy/envoy's security advisory. Shortened; the full text is there.

Workarounds

If an immediate patch cannot be applied, Envoy operators can mitigate this vulnerability by:

  • Disabling the Zstd decompressor in the Envoy configuration.
  • Temporarily falling back to other unimpacted decompression methods (such as Gzip or Brotli) which correctly enforce MaxInflateRatio in their inner processing loops.
Workarounds as given by envoyproxy/envoy's security advisory.

Affected software

SoftwareAffected versions
EnvoyServers and applications · cpe:a:envoyproxy:envoy
  • From 1.23.0 before 1.35.13
  • From 1.36.0 before 1.36.9
  • From 1.37.0 before 1.37.5
  • From 1.38.0 before 1.38.3
EnvoyServers and applications · github:envoyproxy/envoy
  • From 1.23 before 1.35.13

About Envoy

service proxy

From Wikidata, CC0 1.0.
Docker Hub pulls
5,809,928,938Docker Hub, 15 Nov 2026
GitHub stars
29,237GitHub, 15 Nov 2026
Forks
5,728GitHub, 15 Nov 2026
Latest release
v1.40.2GitHub, 15 Nov 2026
Released
27 Oct 2026GitHub
Developer
Alyssa WilkWikidata
License
Apache Software License 2.0Wikidata
Written in
C++Wikidata
First released
8 Aug 2016Wikidata
First published on GitHub
8 Aug 2016GitHub

Release lines

ReleaseLatestSecurity fixes
1.401.40.2Until 13 Oct 2027
1.391.39.6Until 14 Jul 2027
1.381.38.9Until 23 Apr 2027
1.371.37.11Until 13 Jan 2027
1.361.36.13Ended 14 Oct 2026
1.351.35.13Ended 23 Jul 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-48044
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-48044
  • GitHub Advisory Database https://github.com/advisories/GHSA-m3p9-47wh-88wg
  • github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-m3p9-47wh-88wg