CVE-2026-22904 Stack Overflow via Oversized Cookie Fields in lighttpd

Critical 9.8 Published Updated

Unauthenticated attackers can cause denial of service or remote code execution via stack buffer overflow in lighttpd cookie parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-22904?

CVE-2026-22904 is a critical memory corruption vulnerability in WAGO 0852-1322, published on 9 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper length handling when parsing multiple cookie fields (including TRACKID) allows an unauthenticated remote attacker to send oversized cookie values and trigger a stack buffer overflow, resulting in a denial‑of‑service condition and possible remote code execution.

Weakness: CWE-121

Which versions are affected by CVE-2026-22904?

How do I fix CVE-2026-22904?

No fix has been published for CVE-2026-22904 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-22904 being exploited?

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

Sources

Also known as GHSA-p2hc-xm25-6rh8.

Is CVE-2026-22904 in your software?

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

Check your SBOMs for free