Home / varnish-software / Varnish Cache / CVE-2026-40396
CVE-2026-40396: is it exploited, and which versions of varnish-software Varnish Cache are affected and fixed?
CVE-2026-40396 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, 11: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, 11:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-40396?
Varnish Cache 9 before 9.0.1 allows a "workspace overflow" denial of service (daemon panic) after timeout_linger. A malicious client could send an HTTP/1 request, wait long enough until the session releases its worker thread (timeout_linger) and resume traffic before the session is closed (timeout_idle) sending more than one request at once to trigger a pipelining operation between requests. This vulnerability affecting Varnish Cache 9.0.0 emerged from a port of the Varnish Enterprise non-blocking architecture for HTTP/2. New code was needed to adapt to a more recent workspace API that formalizes the pipelining operation. In addition to the workspace change on the Varnish Cache side, other differences created merge conflicts, like partial support for trailers in Varnish Enterprise. The conflict resolution missed one code path configuring pipelining to perform a complete workspace rollback, losing the guarantee that prefetched data would fit inside workspace_client during the transition from one request to the next. This can result in a workspace overflow, triggering a panic and crashing the Varnish server.
From the CVE record by mitre, last updated April 13, 2026, 15:35 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 |
|---|---|---|---|
| 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-40396?
| 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-40396 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.36% probability of exploitation activity in the next 30 days, percentile 31.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?
- https://github.com/varnish/varnish/releases/tag/varnish-9.0.1
- https://github.com/varnish/varnish/issues/15
When was it published, and where is the official record?
- Reserved
- April 12, 2026
- Published
- April 12, 2026, 19:23 UTC
- CVE record updated
- April 13, 2026, 15:35 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, 11: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-40394 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-40396
Is CVE-2026-40396 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.36% 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-40396?
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-40396?
9.0.1, per the CVE record by mitre. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40396?
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-40396?
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.