Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header

Summary

CVECVE-2026-53717
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-14 20:16:45 UTC
Updated2026-09-15 20:17:18 UTC
DescriptionEnvoy 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, internal/wasm/imagefetcher.go follows tenant-controlled EnvoyExtensionPolicy spec.wasm[].code.image.url values to Docker or OCI Wasm layers, and extractWasmPluginBinary uses the untrusted tar-header h.Size value to allocate memory before validating the entry name or declared size. A small PAX or GNU tar header can therefore claim a multi-terabyte entry even though the surrounding LimitReader restricts only the bytes read from the stream, and no registry allowlist prevents a permitted tenant from selecting an attacker-controlled registry that the controller can reach. The allocation is attempted for every tar entry and can cause an unrecoverable Go runtime out-of-memory failure; because the custom resource persists, reconciliation repeatedly crash-loops the shared controller and causes a single-request, non-volumetric, cluster-wide control-plane denial of service. This issue is fixed in versions 1.7.4 and 1.8.1.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.007150000 probability, percentile 0.518360000 (date 2026-09-15)

Problem Types: CWE-789 | CWE-789 CWE-789: Memory Allocation with Excessive Size Value


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Envoyproxy Gateway affected < 1.7.4 Not specified
CNA Envoyproxy Gateway affected >= 1.8.0-rc.0, < 1.8.1 Not specified

References

ReferenceSourceLinkTags
github.com/envoyproxy/gateway/releases/tag/v1.8.1 [email protected] github.com
github.com/envoyproxy/gateway/pull/9173 [email protected] github.com
github.com/envoyproxy/gateway/pull/9172 [email protected] github.com
github.com/envoyproxy/gateway/commit/b4737180c7e597490c6363075c565fa8cf2... [email protected] github.com
github.com/envoyproxy/gateway/releases/tag/v1.7.4 [email protected] github.com
github.com/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x [email protected] github.com
github.com/envoyproxy/gateway/commit/96e2b750868a459ace4b8b68e6a6e4fb015... [email protected] github.com
github.com/envoyproxy/gateway/commit/5a78db82b7cf4fc5bebbeda2c5095289203... [email protected] github.com
github.com/envoyproxy/gateway/pull/9171 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report