Quick answers
- Is CVE-2026-40394 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40394 being exploited in the wild.
- How severe is CVE-2026-40394?
- Medium severity, with a CVSS score of 4, published 12 April 2026.
- Which products and versions are affected?
- Varnish Software Varnish Cache 9.0.0; Varnish Software Varnish Enterprise 6.0.14r1 through 6.0.16r10.
- Is there a fix for CVE-2026-40394?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-40394 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-40394?
- Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A workspace overflow vulnerability exists in Varnish Cache 9.0.0 and Varnish Enterprise 6.0.14r1 through 6.0.16r10 during the upgrade from HTTP/1 to HTTP/2. When a speculative HTTP/1 transport is repurposed as an h2 stream zero, a buffer allocation is made to reserve space for sending frames. This allocation splits the original workspace; if a certain amount of data was prefetched, subsequent pipelining operations may exhaust the remaining workspace, leading to a daemon panic (DoS). The fix involves allocating the send buffer from workspace_thread instead of workspace_client to prevent fragmentation. Patches are available in Varnish Cache 9.0.1 and Varnish Enterprise 6.0.16r11.
Affected products
- Varnish Software Varnish Cache 9.0.0
- Varnish Software Varnish Enterprise 6.0.14r1 through 6.0.16r10
Timeline
- 2026-04-09: advisory: Vendor advisory published by Varnish Software
- 2026-04-12: disclosed: CVE published
- 2026-04-17: other: NVD analysis and enrichment completed