PoC Monitor
← All CVEs
CVE-2026-40395published 12 Apr 2026 19:21 UTCData: JSON · API

Varnish-software Varnish Enterprise

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-770
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

varnish-software Varnish Enterprise
  • >= 6.0.9r5, < 6.0.16r12

Fixed in 6.0.16r12

Mitigation

Upgrade Varnish Enterprise to 6.0.16r12 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.