{"id":"CVE-2026-40395","published":"2026-04-12T19:21:09Z","modified":"2026-04-13T15:45:30Z","title":"Varnish Enterprise before 6.0.16r12 allows a \"workspace overflow\" denial of service (daemon panic) for shared VCL","vendor":"varnish-software","product":"Varnish Enterprise","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00421,"percentile":0.28086,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://docs.varnish-software.com/security/VEV00003/","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":5.62},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"varnish-software","affectedVersions":[{"vendor":"varnish-software","product":"Varnish Enterprise","versions":[">= 6.0.9r5, < 6.0.16r12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-13T15:45:24.491498Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21740","exploited":false,"provenance":"source"}}