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

Medium 6.5 Published Updated

Attackers can crash the Envoy Gateway control plane by providing malicious OCI images with large tar headers, causing memory exhaustion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-53717?

CVE-2026-53717 is a medium-severity denial of service vulnerability in envoyproxy gateway, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-789

Which versions are affected by CVE-2026-53717?

6 open source packages ship an affected version, including github.com/envoyproxy/gateway and envoy-gateway.

PackageAffectedFixed in
github.com/envoyproxy/gateway GoAll versions1.7.4, 1.8.1
github.com/envoyproxy/gateway GoAll versions1.7.4
github.com/envoyproxy/gateway GoAll versions1.7.4
github.com/envoyproxy/gateway GoFrom 1.8.0-rc.01.8.1
github.com/envoyproxy/gateway GoFrom 1.8.0-rc.01.8.1
envoy-gateway BitnamiAll versions1.7.4, 1.8.1

How do I fix CVE-2026-53717?

Upgrade github.com/envoyproxy/gateway to a fixed version for your release line: 1.7.4 or 1.8.1.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-53717 being exploited?

There is no known exploitation of CVE-2026-53717 in the wild and no public exploit code.

Sources

Also known as BIT-envoy-gateway-2026-53717, CLEANSTART-2026-CD63596, CLEANSTART-2026-ZU56180, GHSA-h7pq-86h8-rp5x, GO-2026-6008, MINI-7935-c5gc-hqvc and 3 more.

Is CVE-2026-53717 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free