# CVE-2026-40396

- Priority: **Routine**
- Reason: Not severe (CVSS 4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-12 · Modified: 2026-04-13
- Aliases: UBUNTU-CVE-2026-40396
- Record: https://cvemate.com/vulnerability/CVE-2026-40396 · JSON: https://cvemate.com/vulnerability/CVE-2026-40396/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.361%, percentile 31.869%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu varnish (Ubuntu): All versions (No fix recorded)
- varnish-software varnish\_cache: ≥ 9.0.0, \< 9.0.1
- vinyl-cache vinyl\_cache: 9.0.0

## References

- <https://github.com/varnish/varnish/releases/tag/varnish-9.0.1>
- <https://github.com/varnish/varnish/issues/15>
- <https://ubuntu.com/security/CVE-2026-40396>
- <https://www.cve.org/CVERecord?id=CVE-2026-40396>
- <https://docs.varnish-software.com/security/VEV00002/>

---

Data as of 2026-12-05T05:10:14.920Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
