{"id":"CVE-2026-53717","aliases":["BIT-envoy-gateway-2026-53717","GHSA-h7pq-86h8-rp5x","GO-2026-6008"],"url":"https://o3.security/vulnerability/CVE-2026-53717","summary":"Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header","details":"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.","published":"2026-09-14T20:09:44.990Z","modified":"2026-10-21T02:58:30.134247407Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00715,"percentile":0.52089,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/envoyproxy/gateway","fixedVersion":"1.8.1"},{"ecosystem":"Go","name":"github.com/envoyproxy/gateway","fixedVersion":"1.7.4"}],"fix":{"url":"https://github.com/envoyproxy/gateway/commit/5a78db82b7cf4fc5bebbeda2c50952892038a464","label":"envoyproxy/gateway@5a78db8"},"references":[{"type":"WEB","url":"https://github.com/envoyproxy/gateway/releases/tag/v1.7.4"},{"type":"WEB","url":"https://github.com/envoyproxy/gateway/releases/tag/v1.8.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53717.json"},{"type":"ADVISORY","url":"https://github.com/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53717"},{"type":"FIX","url":"https://github.com/envoyproxy/gateway/commit/5a78db82b7cf4fc5bebbeda2c50952892038a464"},{"type":"FIX","url":"https://github.com/envoyproxy/gateway/commit/96e2b750868a459ace4b8b68e6a6e4fb0152b9b7"},{"type":"FIX","url":"https://github.com/envoyproxy/gateway/commit/b4737180c7e597490c6363075c565fa8cf24eead"},{"type":"FIX","url":"https://github.com/envoyproxy/gateway/pull/9171"},{"type":"FIX","url":"https://github.com/envoyproxy/gateway/pull/9172"},{"type":"FIX","url":"https://github.com/envoyproxy/gateway/pull/9173"},{"type":"PACKAGE","url":"https://github.com/envoyproxy/gateway"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:58:30.134247407Z"}}