7.5

CVE-2026-40395: varnish-software varnish_enterprise

CVSS: 7.5v3.1HighAnalyzed
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.40% chance of exploitation in the next 30 days, higher than 33.3% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.40%
0%100%
Low · +0.17 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.40%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

+0.17 pp

From 0.24% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.40%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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