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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-14 · Modified: 2026-09-15
- Aliases: CGA-32h2-r3v4-p76c, CGA-42x4-g3xc-pcvp, CGA-647c-f66g-3m6g, CGA-64h5-pwrf-fvrf, CGA-682x-ccp2-p99p, CGA-8v39-jxxc-mxrm, CGA-99gp-3m4g-55mv, CGA-99vc-83pf-q22j, CGA-9mh2-gmr9-xmj7, CGA-cqmp-r7xp-52gh, CGA-cr47-3rq7-8r8x, CGA-g36j-xp9j-g422, CGA-gv4g-x959-mjcf, CGA-h688-9pm7-hxhr, CGA-hp5j-gxx3-47h6, CGA-mppx-xpqj-6frf, CGA-pf7c-xpfv-gjmw, CGA-pmxr-xjw9-9783, CGA-rmg5-m959-2235, CGA-v6jp-9833-q3hw, CGA-w86p-mxqf-6x6v, GHSA-h7pq-86h8-rp5x, BIT-envoy-gateway-2026-53717, GO-2026-6008, CGA-2gq5-jp72-4xmm, CGA-2qg5-jprj-g9pp, CGA-2qvr-69rm-268j, CGA-32xf-qcq4-8gwc, CGA-3ff6-5mh3-w8w9, CGA-3q9j-rg82-c7ww, CGA-4gpr-g84m-9m9v, CGA-4hhh-pp65-fqgq, CGA-4jg2-h55j-9mrj, CGA-4m4x-p7c5-gq4v, CGA-53gv-3frf-69v3, CGA-53gv-fqv4-r5v6, CGA-5cx5-5pw8-fhr4, CGA-62j2-qg85-34m2, CGA-6952-4p9j-26m5, CGA-7xm4-w7xc-9vf8, CGA-84qv-7p3w-g5wj, CGA-85rq-j49j-j7mm, CGA-87v2-wwx3-2jxp, CGA-8frg-c79w-c68w, CGA-8hrf-r3r9-33g4, CGA-8qcj-8fx4-9g87, CGA-8xgw-jgfv-8mmh, CGA-c57r-h2xf-xjxw, CGA-f5qq-q2qg-92c4, CGA-frwh-72cc-9hqp, CGA-g46h-8x56-hgv6, CGA-gqmx-6v5h-hmcv, CGA-grvh-62m2-9pp5, CGA-gvr9-6pm8-6pj8, CGA-j7v9-8fg8-gx8j, CGA-jm82-mm9r-74c7, CGA-m6cx-84wr-57mp, CGA-m9wf-mrhx-89r7, CGA-mrg8-xc27-87x6, CGA-mv55-8hfw-c42h, CGA-pg8w-3q6c-hh92, CGA-prc8-v9w2-8vgr, CGA-pvjc-7g39-323r, CGA-q9r2-gv38-fjcg, CGA-qh93-rp8c-phmv, CGA-qpgx-c3qj-gjq2, CGA-rj2q-q4m2-h3f4, CGA-vcwx-w93r-vhm4, CGA-w2r7-gw87-8ffg, CGA-w4jf-9x9g-f5hh, CGA-wrh3-8pwm-6wvr, CGA-x47h-gfw5-2xpc, CGA-xc2g-p65x-98wg, CGA-xcmq-w9px-mpcx, CGA-xhpr-3882-mq7j
- Record: https://cvemate.com/vulnerability/CVE-2026-53717 · JSON: https://cvemate.com/vulnerability/CVE-2026-53717/json

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

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.507%, percentile 44.875%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 50)

- chainguard datadog-agent-7.76 (Chainguard): All versions (No fix recorded) \| \< 7.76.3-r41
- chainguard datadog-cluster-agent-7.73 (Chainguard): \< 7.73.3-r23
- chainguard datadog-cluster-agent-7.74 (Chainguard): \< 7.74.1-r24
- chainguard datadog-cluster-agent-7.75 (Chainguard): All versions (No fix recorded)
- chainguard datadog-cluster-agent-7.76 (Chainguard): \< 7.76.3-r32
- chainguard datadog-cluster-agent-7.77 (Chainguard): \< 7.77.3-r23
- chainguard datadog-cluster-agent-7.78 (Chainguard): \< 7.78.4-r16
- chainguard datadog-cluster-agent-7.79 (Chainguard): \< 7.79.2-r15
- chainguard datadog-cluster-agent-7.80 (Chainguard): \< 7.80.4-r7
- chainguard datadog-cluster-agent-fips-7.73 (Chainguard): \< 7.73.3-r26
- chainguard datadog-cluster-agent-fips-7.74 (Chainguard): \< 7.74.1-r26
- chainguard datadog-cluster-agent-fips-7.75 (Chainguard): All versions (No fix recorded)
- chainguard datadog-cluster-agent-fips-7.76 (Chainguard): \< 7.76.3-r32
- chainguard datadog-cluster-agent-fips-7.77 (Chainguard): \< 7.77.3-r29
- chainguard datadog-cluster-agent-fips-7.78 (Chainguard): \< 7.78.4-r14
- chainguard datadog-cluster-agent-fips-7.79 (Chainguard): \< 7.79.2-r8
- chainguard datadog-cluster-agent-fips-7.80 (Chainguard): \< 7.80.4-r5
- chainguard envoy-gateway-1.5 (Chainguard): All versions (No fix recorded)
- chainguard envoy-gateway-1.5-egctl (Chainguard): All versions (No fix recorded)
- chainguard envoy-gateway-1.6 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x>
- <https://github.com/envoyproxy/gateway/pull/9171>
- <https://github.com/envoyproxy/gateway/pull/9172>
- <https://github.com/envoyproxy/gateway/pull/9173>
- <https://github.com/envoyproxy/gateway/commit/5a78db82b7cf4fc5bebbeda2c50952892038a464>
- <https://github.com/envoyproxy/gateway/commit/96e2b750868a459ace4b8b68e6a6e4fb0152b9b7>
- <https://github.com/envoyproxy/gateway/commit/b4737180c7e597490c6363075c565fa8cf24eead>
- <https://github.com/envoyproxy/gateway/releases/tag/v1.7.4>
- <https://github.com/envoyproxy/gateway/releases/tag/v1.8.1>
- <https://github.com/envoyproxy/gateway>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53717.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53717>

---

Data as of 2026-12-05T09:43:56.805Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
