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…
EPSS 0.0%top 95%

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

0
Medium
VulnerabilityCVE-2026-40396cvecve-2026-40396cwe-670
Published: Sun Apr 12 2026 (04/12/2026, 19:23:03 UTC)
Source: CVE Database V5
Vendor/Project: varnish-software
Product: Varnish Cache

Description

Varnish Cache version 9. 0. 0 contains a vulnerability that allows a denial of service via a workspace overflow leading to a daemon panic. This occurs when a malicious client sends an HTTP/1 request, waits for the session to release its worker thread (timeout_linger), and then resumes traffic before the session closes (timeout_idle), sending multiple requests simultaneously to trigger pipelining. The issue stems from incomplete handling of workspace rollback during pipelining, causing prefetched data to exceed workspace limits and crash the server.

CVSS v3.1

Score 4.0medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/20/2026, 06:21:31 UTC

Technical Analysis

CVE-2026-40396 is a medium severity vulnerability in Varnish Cache 9.0.0 where improper control flow in the pipelining implementation causes a workspace overflow. This overflow triggers a daemon panic (crash) when a client exploits timing windows between timeout_linger and timeout_idle by sending multiple HTTP/1 requests in a pipelined manner. The root cause is a missed code path during merge conflict resolution adapting Varnish Enterprise's non-blocking HTTP/2 architecture to Varnish Cache, resulting in a failure to perform a complete workspace rollback and losing the guarantee that prefetched data fits within workspace_client. This leads to a denial of service condition.

Potential Impact

The vulnerability causes a denial of service by crashing the Varnish Cache server daemon. There is no indication of confidentiality or integrity impact. Exploitation requires network access and precise timing to trigger pipelining between requests. No known exploits are reported in the wild.

Mitigation Recommendations

No official patch or remediation is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, consider restricting access to Varnish Cache 9.0.0 instances to trusted clients and monitor for unusual request patterns that may indicate attempts to exploit pipelining behavior.

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:23:00.553Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69dbf32682d89c981fb00945

Added to database: 4/12/2026, 7:31:50 PM

Last enriched: 4/20/2026, 6:21:31 AM

Last updated: 5/28/2026, 1:54:28 AM

Views: 88

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