Skip to main content
VulnerabilityPublished

CVE-2026-40396: Varnish Cache · Always-Incorrect Control Flow Implementation

Affects Varnish CacheSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.0 Medium : upgrade to 9.0.1 when convenient.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
4.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.0.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade Varnish Cache to 9.0.1.

Affected software

ProductAffectedFixed in
varnish-softwareVarnish CacheAffected
  • >=9.0.0 <9.0.1
Fixed in
  • 9.0.1
GitHubvarnish/varnishpkg:github/varnish/varnishOther threatsAffected
  • =9.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, consider restricting access to Varnish Cache 9.0.0 instances to trusted clients and monitor for unusual request patterns that may indicate attempts to exploit pipelining behavior.

Description

Varnish Cache version 9.0.0 contains a vulnerability that allows a denial of service via a workspace overflow leading to a daemon panic. This occurs when a malicious client sends an HTTP/1 request, waits for the session to release its worker thread (timeout_linger), and then resumes traffic before the session closes (timeout_idle), sending multiple requests simultaneously to trigger pipelining. The issue stems from incomplete handling of workspace rollback during pipelining, causing prefetched data to exceed workspace limits and crash the server.

References

Community reviews

Loading reviews…