CVE-2026-40395
highpriority · track · 30EPSS 0.002 · 15 %ileEUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- varnish-software varnish enterprise≤ 6.0.15nvdUScpe:2.3:a:varnish-software:varnish_enterprise:*:*:*:*:*:*:*:*
- varnish-software varnish enterprise= 6.0.16nvdUScpe:2.3:a:varnish-software:varnish_enterprise:*:*:*:*:*:*:*:*
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-40395cnnvd
- https://docs.varnish-software.com/security/VEV00003/cnnvd
- https://docs.varnish-software.com/varnish-enterprise/Patchcnnvd
- https://docs.varnish-software.com/security/VEV00003/enisa_euvd
- https://docs.varnish-software.com/security/VEV00003/Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan