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.24% (15th 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-16109722
  • published19 Apr 2026
  • disclosed12 Apr 2026
  • creditUnknown

Introduced: 12 Apr 2026

CVE-2026-40394  (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 in the process that handles HTTP/2 session upgrades from HTTP/1. An attacker can cause the service to crash by sending crafted requests that manipulate the amount of prefetched data during the upgrade, leading to exhaustion of allocated workspace and a daemon panic.

CVSS Base Scores

version 4.0
version 3.1