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-40395: CWE-770 Allocation of Resources Without Limits or Throttling in varnish-software Varnish Enterprise

0
Medium
VulnerabilityCVE-2026-40395cvecve-2026-40395cwe-770
Published: Sun Apr 12 2026 (04/12/2026, 19:21:09 UTC)
Source: CVE Database V5
Vendor/Project: varnish-software
Product: Varnish Enterprise

Description

CVE-2026-40395 is a medium severity vulnerability in Varnish Enterprise before version 6. 0. 16r12. It involves a workspace overflow condition triggered by the headerplus. write_req0() function in the vmod_headerplus module, which updates the underlying req0 request object. If the amended req contains too many header fields, this overflow causes a daemon panic and crashes the Varnish Enterprise server. This can be exploited by malicious clients to cause a denial of service. No official patch or remediation guidance is currently provided by the vendor. The vulnerability does not affect cloud services and no known exploits are reported in the wild.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The vulnerability CVE-2026-40395 affects Varnish Enterprise versions before 6.0.16r12. It arises from improper handling of resource allocation limits in the headerplus.write_req0() function of the vmod_headerplus module. This function modifies the req0 object, which is normally read-only and represents the original request. When an amended request contains an excessive number of header fields, it causes a workspace overflow leading to a daemon panic and server crash. This flaw can be leveraged by attackers to cause a denial of service by crashing the Varnish Enterprise server. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The CVSS 3.1 base score is 4.0, indicating medium severity, with network attack vector, high attack complexity, no privileges required, no user interaction, and impact limited to availability loss.

Potential Impact

Successful exploitation results in a denial of service condition due to a workspace overflow that causes the Varnish Enterprise server daemon to panic and crash. There is no impact on confidentiality or integrity. The attack requires network access and has high complexity, meaning it is not trivial to exploit. No known exploits are currently reported in the wild.

Mitigation Recommendations

No official patch or remediation level has been published by the vendor as of the current information. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider limiting exposure of the Varnish Enterprise service to untrusted clients or applying custom rate limiting or filtering to reduce the risk of triggering the overflow condition. Monitor vendor communications for updates on patches or official mitigations.

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

Threat ID: 69dbf32682d89c981fb00942

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

Last enriched: 4/12/2026, 7:46:53 PM

Last updated: 4/12/2026, 9:03:45 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