CVE-2017-12425: Varnish-Cache Varnish

High severity, CVSS 7.5. EPSS: 2.4% chance of exploitation in the next 30 days.

An issue was discovered in Varnish HTTP Cache 4.0.1 through 4.0.4, 4.1.0 through 4.1.7, 5.0.0, and 5.1.0 through 5.1.2. A wrong if statement in the varnishd source code means that particular invalid requests from the client can trigger an assert, related to an Integer Overflow. This causes the varnishd worker process to abort and restart, losing the cached contents in the process. An attacker can therefore crash the varnishd worker process on demand and effectively keep it from serving content - a Denial-of-Service attack. The specific source-code filename containing the incorrect statement varies across releases.

Affected products

  • Varnish-Cache Varnish: version 4.0.2 only; version 4.0.3 only; version 4.1.0 only
  • Varnish-Software Varnish Cache: version 4.1.0 only; version 4.1.1 only; version 4.1.2 only; version 4.1.3 only; version 4.1.4 only; version 4.1.5 only; …
  • Varnish Cache Project Varnish Cache: version 4.0.1 only; version 4.0.2 only; version 4.0.3 only; version 4.0.4 only; version 5.0.0 only; version 5.1.0 only; …

Published 2017-08-04. Last modified 2026-06-17.