Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-40395

4.0 · MEDIUM
Published Apr 12, 2026 varnish-software CWE-770

Overview

CVE-2026-40395 is a medium-severity vulnerability affecting varnish-software varnish_enterprise. It was published on April 12, 2026 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from varnish-software. Update varnish_enterprise to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
varnish-software varnish_enterprise 0 Affected

Frequently Asked Questions

What is CVE-2026-40395?

CVE-2026-40395 is a medium-severity vulnerability affecting varnish-software varnish_enterprise. It was published on April 12, 2026 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

How severe is CVE-2026-40395?

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-40395?

Check the references section for vendor advisories and patches from varnish-software. Update varnish_enterprise to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-40395?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-40395 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026