Skip to main content

CVE-2026-53716: CWE-789: Memory Allocation with Excessive Size Value in envoyproxy gateway

0
Medium
VulnerabilityCVE-2026-53716cvecve-2026-53716cwe-789
Published: 09/14/2026 (09/14/2026, 20:15:51 UTC)
Source: CVE Database V5
Vendor/Project: envoyproxy
Product: gateway

Description

Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. Prior to 1.7.4 and 1.8.1, getFileFromGZ in internal/wasm/httpfetcher.go calls io.ReadAll on a gzip.Reader without limiting decompressed output when a tenant-controlled EnvoyExtensionPolicy.spec.wasm[].code.http.url points to a reachable compressed Wasm payload. The 256 MiB compressed-input cap does not constrain the expanded size, no operator Wasm URL allowlist exists, and the optional sha256 check occurs only after decompression, so a comparatively small gzip stream can force a multi-gigabyte allocation in the shared controller. The resulting out-of-memory termination restarts the controller, re-reconciles the persistent custom resource, and can create a persistent cross-tenant control-plane outage. This issue is fixed in versions 1.7.4 and 1.8.1.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

envoyproxy

gateway

Affected versions
<1.7.4>=1.8.0-rc.0 <1.8.1
GitHub Actionsmore threats →ai
envoyproxy/gateway
pkg:github/envoyproxy/gateway
Affected versions
<1.7.4>=1.8.0-rc.0 <1.8.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 21:02:22 UTC

Technical Analysis

Envoy Gateway versions before 1.7.4 and between 1.8.0-rc.0 and before 1.8.1 contain a memory allocation vulnerability (CWE-789) in the getFileFromGZ function within internal/wasm/httpfetcher.go. The function calls io.ReadAll on a gzip.Reader without limiting the decompressed output size, allowing a compressed Wasm payload controlled by a tenant to trigger multi-gigabyte memory allocations despite a 256 MiB compressed input cap. There is no operator Wasm URL allowlist, and the optional sha256 integrity check occurs only after decompression. This can cause the shared controller to run out of memory, terminate, and restart, leading to persistent cross-tenant control-plane outages. The vulnerability is addressed in Envoy Gateway versions 1.7.4 and 1.8.1.

Potential Impact

An attacker controlling the EnvoyExtensionPolicy.spec.wasm[].code.http.url can supply a compressed Wasm payload that decompresses to a very large size, causing the Envoy Gateway controller to allocate excessive memory and crash. This results in out-of-memory termination and restarts of the controller, which re-reconciles persistent custom resources, potentially causing persistent cross-tenant control-plane outages. There is no impact on confidentiality or integrity reported, but availability is severely affected.

Mitigation Recommendations

This vulnerability is fixed in Envoy Gateway versions 1.7.4 and 1.8.1. Users should upgrade to these versions or later to remediate the issue. No other mitigations such as URL allowlisting or decompression limits are indicated in the advisory. Patch status is confirmed by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-10T16:43:31.241Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa85d5955bf5e2cf598a21f

Added to database: 09/14/2026, 20:47:21 UTC

Last enriched: 09/14/2026, 21:02:22 UTC

Last updated: 09/15/2026, 05:09:48 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses