Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40394: CWE-670 Always-Incorrect Control Flow Implementation in varnish-software Varnish Cache

0
Medium
VulnerabilityCVE-2026-40394cvecve-2026-40394cwe-670
Published: Sun Apr 12 2026 (04/12/2026, 19:17:34 UTC)
Source: CVE Database V5
Vendor/Project: varnish-software
Product: 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

AILast updated: 04/12/2026, 19:46:58 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses