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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-07-16T19:20:05.000Z
- Modified: 2026-09-30T17:43:24.057Z
- Also known as: GHSA-h7pq-86h8-rp5x, BIT-ENVOY-GATEWAY-2026-53717, GO-2026-6008
- Related: CGA-66p8-wrmf-29hr
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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, 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.

(As written by CVE List.)

## Affected

- envoyproxy gateway: < 1.7.4; >= 1.8.0-rc.0, < 1.8.1
- github.com/envoyproxy/gateway (Go): from 1.8.0-rc.0 before 1.8.1; before 1.7.4
- envoy-gateway (Bitnami): before 1.7.4; from 1.8.0 before 1.8.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x> (advisory, web)
- <https://github.com/envoyproxy/gateway/pull/9171> (web)
- <https://github.com/envoyproxy/gateway/pull/9172> (web)
- <https://github.com/envoyproxy/gateway/pull/9173> (web)
- <https://github.com/envoyproxy/gateway/commit/5a78db82b7cf4fc5bebbeda2c50952892038a464> (web)
- <https://github.com/envoyproxy/gateway/commit/96e2b750868a459ace4b8b68e6a6e4fb0152b9b7> (web)
- <https://github.com/envoyproxy/gateway/commit/b4737180c7e597490c6363075c565fa8cf24eead> (web)
- <https://github.com/envoyproxy/gateway/releases/tag/v1.7.4> (web)
- <https://github.com/envoyproxy/gateway/releases/tag/v1.8.1> (web)
- <https://github.com/envoyproxy/gateway> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53717> (web)

## Sources

- CVE List: [CVE-2026-53717](https://www.cve.org/CVERecord?id=CVE-2026-53717), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-h7pq-86h8-rp5x](https://github.com/advisories/GHSA-h7pq-86h8-rp5x), CC-BY-4.0, modified 2026-09-21
- Go Vulnerability Database: [GO-2026-6008](https://pkg.go.dev/vuln/GO-2026-6008), CC-BY-4.0, modified 2026-09-21
- NVD: [CVE-2026-53717](https://nvd.nist.gov/vuln/detail/CVE-2026-53717), Public domain, modified 2026-09-30
- Bitnami Vulnerability Database: [BIT-ENVOY-GATEWAY-2026-53717](https://osv.dev/vulnerability/BIT-ENVOY-GATEWAY-2026-53717), Apache-2.0, modified 2026-09-21

---

Page: https://cve.day/CVE-2026-53717 · Whole record: https://cve.day/CVE-2026-53717.json · Rebuilt by cve.day 2026-11-25T22:59:38.357Z
