Vulnerability DatabaseCVE-2026-122322

CVE-2026-122322: 
Kyverno vulnerability analysis and mitigation

Overview

CVE-2026-122322 is an unbounded decompression vulnerability ("zip bomb" / data amplification) in Kyverno's extractStatement function within the notary attestation processing path. It affects Kyverno versions 1.11.0 through 1.19.1 (before 1.19.2) and allows unauthenticated remote attackers to exhaust the admission controller's memory by supplying highly compressed gzip predicate layers as registry referrer artifacts, resulting in denial of service via OOM kill. The vulnerability was published on November 5, 2026, with the underlying security advisory (GHSA-3f2c-hfj8-542w) originally published October 21, 2026. It carries a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (GitHub Advisory, Kyverno Advisory).

Technical details

The root cause is classified as CWE-409 (Improper Handling of Highly Compressed Data / Data Amplification). In pkg/notary/notary.go at line 337 (commit f63dda3), the extractStatement function calls layer.Uncompressed() and reads the full decompressed stream into a bytes.Buffer via ReadFrom without applying any upper bound (e.g., io.LimitReader). While the code does check compressed blob sizes via predicateDesc.Size and layer.Size(), it does not enforce a cap on the uncompressed bytes, meaning a gzip layer with a high compression ratio can decompress far beyond the maxPayloadSize limit of 10,000,000 bytes. An attacker who can push crafted referrer artifacts to a registry accessible by the Kyverno admission controller — and cause the cluster to evaluate an image reference resolving to those artifacts — can trigger unbounded memory allocation during attestation fetching (Kyverno Advisory, GitHub Advisory).

Impact

Successful exploitation causes the Kyverno admission controller to be OOM-killed, resulting in a denial of service that disrupts Kubernetes policy enforcement for the cluster. Because Kyverno acts as an admission controller, its unavailability can prevent new workloads from being admitted or cause policy bypass depending on the cluster's failure mode configuration. The impact is limited to availability — there is no confidentiality or integrity impact — but the loss of the admission controller in a production Kubernetes environment can have significant operational consequences (Kyverno Advisory, Red Hat Bugzilla).

Exploitability

A proof-of-concept (poc.zip) is referenced in the Kyverno security advisory; it starts a local OCI registry, pushes a crafted gzip layer that decompresses beyond maxPayloadSize (~12 MB uncompressed vs. 10 MB limit) as a referrer artifact, and triggers FetchAttestations to demonstrate unbounded memory buffering. No in-the-wild exploitation has been observed as of the time of publication, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.40% (35th percentile). Exploitation requires no authentication and no user interaction, but does require the attacker to control registry referrer artifacts accessible to the target Kyverno instance (Kyverno Advisory, GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify Kubernetes clusters running Kyverno versions 1.11.0–1.19.1 as an admission controller with image verification policies that fetch notary attestations for admitted workloads.
  2. Prepare malicious artifact: Create a gzip-compressed predicate layer whose uncompressed size significantly exceeds Kyverno's maxPayloadSize (10,000,000 bytes). The PoC uses a layer that decompresses to approximately 12 MB.
  3. Push to accessible registry: Push the crafted gzip predicate layer as a referrer/attestation artifact to an OCI registry that the target Kyverno admission controller can reach (e.g., a public registry, a compromised internal registry, or a registry the attacker controls that the cluster is configured to pull from).
  4. Trigger attestation fetching: Cause the cluster to evaluate an image reference that resolves to the attacker-controlled referrer artifacts — for example, by submitting a pod or workload manifest referencing the malicious image to the Kubernetes API server.
  5. Induce OOM kill: Kyverno's extractStatement function calls layer.Uncompressed() and reads the full decompressed stream into memory without a size cap, causing memory to grow proportionally to the uncompressed payload size and triggering an OOM kill of the admission controller process (Kyverno Advisory).

Indicators of compromise

  • Logs: Kyverno admission controller logs showing repeated calls to FetchAttestations or extractStatement for unexpected image references; OOM kill events in Kubernetes node logs (dmesg or journalctl) referencing the Kyverno pod.
  • Kubernetes Events: OOMKilled events associated with the Kyverno admission controller pod (kubectl describe pod -n kyverno); repeated pod restarts for the Kyverno controller.
  • Network: Outbound connections from the Kyverno admission controller to unexpected or external OCI registries fetching referrer/attestation artifacts for images not normally used in the cluster.
  • Process/Resource: Sudden spike in memory consumption by the Kyverno admission controller process immediately preceding a crash; admission controller becoming unresponsive to webhook calls (Kyverno Advisory).

Mitigation and workarounds

Upgrade Kyverno to version 1.19.2 or later, which enforces an upper bound on uncompressed reads (using io.LimitReader with maxPayloadSize+1 and returning an error if exceeded) and properly closes uncompressed readers. As a workaround prior to patching, implement network-level controls to restrict which registries and referrer artifacts the Kyverno admission controller can access, reducing the attacker's ability to supply malicious predicate layers. Additionally, monitor admission controller resource usage and configure Kubernetes resource limits and liveness probes to detect and recover from OOM conditions more quickly (Kyverno Advisory, GitHub Advisory).

Community reactions

Red Hat tracked the vulnerability via Bugzilla (Bug 2567683) with a high severity rating, indicating relevance to Red Hat products or ecosystem components that depend on Kyverno. The advisory was credited to researcher "oleh" (handle: 1seal), who provided a detailed root cause analysis and a reproducible PoC. Community aggregators including VulnDB, CVEFeed, and Brandefense covered the vulnerability shortly after disclosure, reflecting moderate industry interest given Kyverno's role in Kubernetes policy enforcement (Red Hat Bugzilla, Kyverno Advisory).

Additional resources


Source: This report was generated using AI

Related Kyverno vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-124440CRITICAL9.4
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 08, 2026
CVE-2026-124441HIGH8.7
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 08, 2026
CVE-2026-122323HIGH8.7
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 05, 2026
CVE-2026-122322HIGH8.7
  • Kyverno logoKyverno
  • kyverno
NoYesNov 05, 2026
CVE-2026-122321HIGH8.5
  • Kyverno logoKyverno
  • cpe:2.3:a:kyverno:kyverno
NoYesNov 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management