Always-Incorrect Control Flow Implementation Affecting varnish-cache package, versions [,9.0.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VARNISHCACHE-16109725
  • published19 Apr 2026
  • disclosed12 Apr 2026
  • creditUnknown

Introduced: 12 Apr 2026

CVE-2026-40396  (opens in a new tab)
CWE-670  (opens in a new tab)

How to fix?

Upgrade varnish-cache to version 9.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation through the pipelining process between HTTP/1 requests after timeout_linger. An attacker can cause the server to crash by sending a crafted sequence of HTTP/1 requests, waiting for the session to release its worker thread, and then resuming traffic before the session is closed, resulting in a workspace overflow and daemon panic.

CVSS Base Scores

version 4.0
version 3.1