CVE-2026-40394 in Varnish-Software Varnish Enterprise and 1 more product
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 ze...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Varnish-Software | Varnish Enterprise | 6.0.16 ≤ 6.0.15 |
| Vinyl-Cache | Vinyl Cache | 9.0.0 |
| Varnish-Software | Varnish Cache | ≥ 9.0.0, < 9.0.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-40394 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-255822-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-04-12 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-670: CWE-670
Analysis AI-written, not human-reviewed
Varnish Cache versions prior to 9.0.1 and Varnish Enterprise versions prior to 6.0.16r11 are vulnerable to a workspace overflow denial of service (DoS) attack during the HTTP/2 session upgrade process.
The vulnerability occurs when a speculative HTTP/1 transport is upgraded to HTTP/2, and the HTTP/1 request is repurposed as stream zero. During this upgrade, a buffer allocation is made to send frames, which can lead to a workspace overflow if a large amount of prefetched data is present.
Questions
What is CVE-2026-40394?
Varnish Cache versions prior to 9.0.1 and Varnish Enterprise versions prior to 6.0.16r11 are vulnerable to a workspace overflow denial of service (DoS) attack during the HTTP/2 session upgrade process.
What is the CVSS score for CVE-2026-40394?
CVE-2026-40394 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.4%.
Is CVE-2026-40394 actively exploited?
No confirmed active exploitation of CVE-2026-40394 as of 2026-11-03.
How do I remediate CVE-2026-40394?
Priority: HIGH. Advisory: https://docs.varnish-software.com/security/VEV00002/ PSIRT: [email protected]
What systems are affected by CVE-2026-40394?
CVE-2026-40394 affects Varnish-Software Varnish Enterprise; Vinyl-Cache Vinyl Cache.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Varnish-Software","product":"Varnish Enterprise","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.