CVE-2017-12425 in Varnish Cache Project Varnish Cache and 2 more products
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 proces...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Varnish Cache Project | Varnish Cache | 4.0.1 4.0.2 4.0.3 4.0.4 5.0.0 5.1.0+2 more5.1.1 5.1.2 |
| Varnish-Cache | Varnish | 4.0.2 4.0.3 4.1.0 |
| Varnish-Software | Varnish Cache | 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5+2 more4.1.6 4.1.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-12425 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-115270-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2017-08-04 |
| Last modified | 2026-05-13 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2017. A high severity vulnerability affects Varnish Cache Project systems (CVE-2017-12425). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 - CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Questions
What is CVE-2017-12425?
This vulnerability was disclosed in 2017. A high severity vulnerability affects Varnish Cache Project systems (CVE-2017-12425). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2017-12425?
CVE-2017-12425 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 2.4%.
Is CVE-2017-12425 actively exploited?
No confirmed active exploitation of CVE-2017-12425 as of 2026-05-30.
How do I remediate CVE-2017-12425?
Priority: MEDIUM. Advisory: https://www.varnish-cache.org/security/VSV00001.html#vsv00001 PSIRT: [email protected]
What systems are affected by CVE-2017-12425?
CVE-2017-12425 affects Varnish Cache Project Varnish Cache; Varnish-Cache Varnish; Varnish-Software Varnish Cache.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Varnish Cache Project","product":"Varnish Cache","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-13.