Home / varnish-software / Varnish Cache / CVE-2026-40394
CVE-2026-40394: is it exploited, and which versions of varnish-software Varnish Cache are affected and fixed?
CVE-2026-40394 is an always-incorrect control flow vulnerability in varnish-software Varnish Cache. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: Varnish Cache from 9.0.0 before 9.0.1 (CVE record by mitre). Fixed in 9.0.1 (CVE record by mitre). Severity: Medium (4.0, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-40394?
Varnish Cache 9 before 9.0.1 and Varnish Enterprise before 6.0.16r11 allows a "workspace overflow" denial of service (daemon panic) for certain amounts of prefetched data. The setup of an HTTP/2 session starts with a speculative HTTP/1 transport, and upon upgrading to h2 the HTTP/1 request is repurposed as stream zero. During the upgrade, a buffer allocation is made to reserve space to send frames to the client. This allocation would split the original workspace, and depending on the amount of prefetched data, the next fetch could perform a pipelining operation that would run out of workspace.
From the CVE record by mitre, last updated April 13, 2026, 15:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| varnish-software | Varnish Cache | from 9.0.0 before 9.0.1 | 9.0.1 |
As the CVE record by mitre states it, last updated April 13, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| varnish-software | varnish enterprise | through 6.0.15 | application |
| varnish-software | varnish enterprise | 6.0.16 | application |
| vinyl-cache | vinyl cache | 9.0.0 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-40394?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L | mitre |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40394 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 13, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 16.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-670 Always-Incorrect Control Flow Implementation
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- April 12, 2026
- Published
- April 12, 2026, 19:17 UTC
- CVE record updated
- April 13, 2026, 15:45 UTC by mitre
- NVD
- Analyzed, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Varnish Cache?
- Sep 18, 2026CVE-2026-93894 Vinyl Cache: out-of-bounds write (memory corruption)
- Apr 12, 2026CVE-2026-40396 varnish-software Varnish Cache: always-incorrect control flow
- Mar 27, 2026CVE-2026-34475 varnish-software Varnish Cache: incorrect Behavior Order: Validate Before Canonicalize
- Aug 13, 2025CVE-2025-8671 SUSE Linux Enterprise Module for Development Tools: resource not released
- May 13, 2025CVE-2025-47905 varnish-software Varnish Cache: HTTP request smuggling
- Mar 21, 2025CVE-2025-30346 varnish-software Varnish Cache: HTTP request smuggling
- Nov 9, 2022CVE-2022-45060 Varnish-software Varnish Cache: improper input validation
- Jan 26, 2022CVE-2022-23959 Varnish-software Varnich Cache: HTTP request smuggling
Questions about CVE-2026-40394
Is CVE-2026-40394 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of varnish-software Varnish Cache are affected by CVE-2026-40394?
Varnish Cache from 9.0.0 before 9.0.1, per the CVE record by mitre. The tables above give every range the sources list.
Which version fixes CVE-2026-40394?
9.0.1, per the CVE record by mitre. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40394?
Medium (4.0, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40394?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.