{"id":"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.","aliases":["GHSA-h7pq-86h8-rp5x","GO-2026-6008"],"modified":"2026-09-15T11:45:36.808767866Z","published":"2026-09-14T20:09:44.990Z","related":["openSUSE-SU-2026:21483-1"],"database_specific":{"cwe_ids":["CWE-789"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53717.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53717.json"},{"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":"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/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53717"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/envoyproxy/gateway","events":[{"introduced":"0"},{"fixed":"062b176235b72d339fac340d23dd37679b36dca6"},{"introduced":"2de2611fdbbca83d4a1ede99417c90fcdead24d9"},{"fixed":"097ab899b9d041452d02f15d738514eda10ea21b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.7.4"},{"introduced":"1.8.0-rc.0"},{"fixed":"1.8.1"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.8.0","v1.7.3","v1.8.0-rc.1","v1.9.0-rc.0","v1.7.2","v1.7.1","v1.8.0-rc.0","v1.7.0","v1.7.0-rc.2","v1.7.0-rc.1","v1.7.0-rc.0","v1.6.0-rc.0","latest","v0.5.0-rc.1","v0.2.0","v0.2.0-rc2","v0.2.0-rc1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53717.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}