7.5

CVE-2026-40395: varnish-software varnish_enterprise

Analyzed
AliasesUBUNTU-CVE-2026-40395
Published 12-04-2026Last modified 13-04-2026

Vulnerability summary

CVE-2026-40395 is a high (CVSS 7.5) vulnerability in varnish-software varnish_enterprise. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.25%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 12-04-2026
    PublishedVulnerability first disclosed.
  2. 13-04-2026
    Last modifiedVulnerability information updated.

Description

Varnish Enterprise before 6.0.16r12 allows a "workspace overflow" denial of service (daemon panic) for shared VCL. The headerplus.write_req0() function from vmod_headerplus updates the underlying req0, which is normally the original read-only request from which req is derived (readable and writable from VCL). This is useful in the active VCL, after amending req, to prepare a refined req0 before switching to a different VCL with the return (vcl(<label>)) action. This is for example how the Varnish Controller operates shared VCL deployments. If the amended req contained too many header fields for req0, this would have resulted in a workspace overflow that would in turn trigger a panic and crash the Varnish Enterprise server. This could be used as a Denial of Service attack vector by malicious clients.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.24% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu1 product
  • varnishAll versions (No fix recorded)
Varnish-software1 product
  • varnish_enterprise≥ 6.0.9r5, < 6.0.16r12 | ≤ 6.0.15 | 6.0.16:r1 | 6.0.16:r10 | 6.0.16:r11 | 6.0.16:r2 | 6.0.16:r3 | 6.0.16:r4 | 6.0.16:r5 | 6.0.16:r6 | 6.0.16:r7 | 6.0.16:r8 | 6.0.16:r9

2 vendors · 2 products

References

3 links