# CVE-2026-40396: Varnish Cache 9 before 9.0.1 allows a "workspace overflow" denial of service (daemon panic) after timeoutlinger.

- Severity: Medium 4.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-02)
- Published: 2026-04-12T19:23:03.408Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-670
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Varnish Cache 9 before 9.0.1 allows a "workspace overflow" denial of service (daemon panic) after timeout_linger. A malicious client could send an HTTP/1 request, wait long enough until the session releases its worker thread (timeout_linger) and resume traffic before the session is closed (timeout_idle) sending more than one request at once to trigger a pipelining operation between requests. This vulnerability affecting Varnish Cache 9.0.0 emerged from a port of the Varnish Enterprise non-blocking architecture for HTTP/2. New code was needed to adapt to a more recent workspace API that formalizes the pipelining operation. In addition to the workspace change on the Varnish Cache side, other differences created merge conflicts, like partial support for trailers in Varnish Enterprise. The conflict resolution missed one code path configuring pipelining to perform a complete workspace rollback, losing the guarantee that prefetched data would fit inside workspace_client during the transition from one request to the next. This can result in a workspace overflow, triggering a panic and crashing the Varnish server.

(As written by CVE List.)

## Affected

- varnish-software Varnish Cache: from 9.0.0 before 9.0.1
- vinyl-cache vinyl_cache: 9.0.0

## Every score

- mitre: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/varnish/varnish/releases/tag/varnish-9.0.1> (product)
- <https://github.com/varnish/varnish/issues/15> (issue-tracking)

## Sources

- CVE List: [CVE-2026-40396](https://www.cve.org/CVERecord?id=CVE-2026-40396), CVE Terms of Use, modified 2026-04-13
- NVD: [CVE-2026-40396](https://nvd.nist.gov/vuln/detail/CVE-2026-40396), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40396 · Whole record: https://cve.day/CVE-2026-40396.json · Rebuilt by cve.day 2026-11-25T22:59:18.578Z
