{"id":"CVE-2026-53717","published":"2026-09-14T20:09:44Z","modified":"2026-09-15T19:30:12Z","title":"Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header","vendor":"envoyproxy","product":"gateway","tier":"tail","description":{"text":"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, 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00715,"percentile":0.49434,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/envoyproxy/gateway/pull/9171","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/gateway/pull/9172","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/gateway/pull/9173","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/gateway/commit/5a78db82b7cf4fc5bebbeda2c50952892038a464","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/gateway/commit/96e2b750868a459ace4b8b68e6a6e4fb0152b9b7","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/gateway/commit/b4737180c7e597490c6363075c565fa8cf24eead","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/gateway/releases/tag/v1.7.4","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/gateway/releases/tag/v1.8.1","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.89},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"envoyproxy","affectedVersions":[{"vendor":"envoyproxy","product":"gateway","versions":["< 1.7.4",">= 1.8.0-rc.0, < 1.8.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T19:29:49.750607Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/envoyproxy/gateway","vulnerableRanges":[">=1.8.0-rc.0, <1.8.1","<1.7.4"],"patched":["1.8.1","1.7.4"],"from":["GHSA-h7pq-86h8-rp5x","GO-2026-6008"],"provenance":"source"}],"summary":{"text":"Envoy Gateway's OCI Wasm layer extraction (internal/wasm/imagefetcher.go, extractWasmPluginBinary) allocates memory using a size value taken from an untrusted tar header before the entry is validated. An attacker who can create an EnvoyExtensionPolicy, which requires only low-privilege authenticated access within a tenant, can point it at an attacker-controlled registry reachable by the controller, and a crafted tar header claiming a huge entry size can crash the shared controller with an out-of-memory failure that repeats on each reconciliation, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:41Z"},"euvd":{"id":"EUVD-2026-78069","exploited":false,"provenance":"source"}}