CVE-2026-40394: CWE-670 Always-Incorrect Control Flow Implementation in varnish-software Varnish Cache
Varnish Cache versions prior to 9. 0. 1 and Varnish Enterprise before 6. 0. 16r11 contain a vulnerability that can cause a denial of service via a workspace overflow. This occurs during the HTTP/2 session upgrade process, where buffer allocation splits the workspace and certain amounts of prefetched data can trigger a daemon panic. The issue affects version 9. 0. 0 of Varnish Cache. The vulnerability has a medium severity with a CVSS score of 4.
AI Analysis
Technical Summary
CVE-2026-40394 is a vulnerability in Varnish Cache 9.0.0 and earlier versions of Varnish Enterprise that leads to a workspace overflow denial of service. The problem arises during the HTTP/2 session upgrade, which initially starts as a speculative HTTP/1 transport. When upgrading to HTTP/2, the HTTP/1 request is repurposed as stream zero, and a buffer allocation is made to reserve space for sending frames to the client. This allocation splits the original workspace, and depending on the amount of prefetched data, subsequent fetch operations may run out of workspace, causing a daemon panic and service disruption. The vulnerability is classified under CWE-670 (Always-Incorrect Control Flow Implementation).
Potential Impact
The vulnerability can cause a denial of service by crashing the Varnish Cache daemon due to workspace overflow during HTTP/2 session upgrades. This results in service disruption but does not impact confidentiality or integrity. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or temporary fix is indicated, users should monitor vendor communications for updates. Until a fix is available, consider limiting or controlling HTTP/2 traffic or prefetched data amounts if feasible to reduce exposure.
CVE-2026-40394: CWE-670 Always-Incorrect Control Flow Implementation in varnish-software Varnish Cache
Description
Varnish Cache versions prior to 9. 0. 1 and Varnish Enterprise before 6. 0. 16r11 contain a vulnerability that can cause a denial of service via a workspace overflow. This occurs during the HTTP/2 session upgrade process, where buffer allocation splits the workspace and certain amounts of prefetched data can trigger a daemon panic. The issue affects version 9. 0. 0 of Varnish Cache. The vulnerability has a medium severity with a CVSS score of 4.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40394 is a vulnerability in Varnish Cache 9.0.0 and earlier versions of Varnish Enterprise that leads to a workspace overflow denial of service. The problem arises during the HTTP/2 session upgrade, which initially starts as a speculative HTTP/1 transport. When upgrading to HTTP/2, the HTTP/1 request is repurposed as stream zero, and a buffer allocation is made to reserve space for sending frames to the client. This allocation splits the original workspace, and depending on the amount of prefetched data, subsequent fetch operations may run out of workspace, causing a daemon panic and service disruption. The vulnerability is classified under CWE-670 (Always-Incorrect Control Flow Implementation).
Potential Impact
The vulnerability can cause a denial of service by crashing the Varnish Cache daemon due to workspace overflow during HTTP/2 session upgrades. This results in service disruption but does not impact confidentiality or integrity. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or temporary fix is indicated, users should monitor vendor communications for updates. Until a fix is available, consider limiting or controlling HTTP/2 traffic or prefetched data amounts if feasible to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-12T19:17:33.934Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dbf32682d89c981fb0093f
Added to database: 4/12/2026, 7:31:50 PM
Last enriched: 4/12/2026, 7:46:58 PM
Last updated: 4/12/2026, 8:37:56 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.