VulnarioBlogVarnish vulnerabilities
Varnish Vulnerabilities: The 9 Most Critical Varnish Security Bugs (CVEs)
Varnish vulnerabilities are security flaws in Varnish that attackers can abuse to steal data, take over a server or interrupt a service. Varnish Cache is an HTTP accelerator and caching reverse proxy. The National Vulnerability Database (NVD) lists 9 CVEs for Varnish, 2 of them rated critical, and none were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 9 most critical Varnish security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Varnish security basics, the current end-of-life dates and a free way to be told about the next Varnish CVE as soon as it is published.
Key takeaways
- No Varnish CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 2 Varnish CVEs are rated critical (CVSS v3), and 0 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2022-45060, published Nov 9, 2022.
- Supported Varnish releases today (per endoflife.date): 9.1, 9.0. Releases not on the list are past their announced end of life.
- You can monitor Varnish for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Varnish CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 9 most critical Varnish CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2022-23959 | 9.1 Critical | 2022-01-26 | HTTP request smuggling | No |
| 2 | CVE-2017-8807 | 9.1 Critical | 2017-11-16 | Memory buffer overflow | No |
| 3 | CVE-2022-45060 | 7.5 High | 2022-11-09 | Improper input validation | No |
| 4 | CVE-2019-20637 | 7.5 High | 2020-04-08 | Improper removal of sensitive data | No |
| 5 | CVE-2020-11653 | 7.5 High | 2020-04-08 | Reachable assertion | No |
| 6 | CVE-2019-15892 | 7.5 High | 2019-09-03 | Reachable assertion | No |
| 7 | CVE-2017-12425 | 7.5 High | 2017-08-04 | Integer overflow | No |
| 8 | CVE-2021-36740 | 6.5 Medium | 2021-07-14 | HTTP request smuggling | No |
| 9 | CVE-2013-4484 | 5.0 (v2) Medium | 2013-11-01 | Memory buffer overflow | No |
Each Varnish CVE explained
1. CVE-2022-23959: HTTP request smuggling
- What NVD says
- In Varnish Cache before 6.6.2 and 7.x before 7.0.2, Varnish Cache 6.0 LTS before 6.0.10, and and Varnish Enterprise (Cache Plus) 4.1.x before 4.1.11r6 and 6.0.x before 6.0.9r4, request smuggling can occur for HTTP/1 connections.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 6.0.0 to before 6.0.10
- What to do
- Upgrade to 6.0.10 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2017-8807: Memory buffer overflow
- What NVD says
- vbf_stp_error in bin/varnishd/cache/cache_fetch.c in Varnish HTTP Cache 4.1.x before 4.1.9 and 5.x before 5.2.1 allows remote attackers to obtain sensitive information from process memory because a VFP_GetStorage buffer is larger than intended in certain circumstances involving -sfile Stevedore transient objects.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and availability.
- Affected versions
- 4.1.0 to before 4.1.9
- What to do
- Upgrade to 4.1.9 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2022-45060: Improper input validation
- What NVD says
- An HTTP Request Forgery issue was discovered in Varnish Cache 5.x and 6.x before 6.0.11, 7.x before 7.1.2, and 7.2.x before 7.2.1. An attacker may introduce characters through HTTP/2 pseudo-headers that are invalid in the context of an HTTP/1 request line, causing the Varnish server to produce invalid HTTP/1 requests to the backend.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on integrity.
- Affected versions
- 6.0.0 to before 6.0.11
- What to do
- Upgrade to 6.0.11 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2019-20637: Improper removal of sensitive data
- What NVD says
- An issue was discovered in Varnish Cache before 6.0.5 LTS, 6.1.x and 6.2.x before 6.2.2, and 6.3.x before 6.3.1. It does not clear a pointer between the handling of one client request and the next request within the same connection.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 6.0.0 to before 6.0.5
- What to do
- Upgrade to 6.0.5 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2020-11653: Reachable assertion
- What NVD says
- An issue was discovered in Varnish Cache before 6.0.6 LTS, 6.1.x and 6.2.x before 6.2.3, and 6.3.x before 6.3.2. It occurs when communication with a TLS termination proxy uses PROXY version 2. There can be an assertion failure and daemon restart, which causes a performance loss.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 6.0.0 to before 6.0.6
- What to do
- Upgrade to 6.0.6 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2019-15892: Reachable assertion
- What NVD says
- An issue was discovered in Varnish Cache before 6.0.4 LTS, and 6.1.x and 6.2.x before 6.2.1. An HTTP/1 parsing failure allows a remote attacker to trigger an assert by sending crafted HTTP/1 requests. The assert will cause an automatic restart with a clean cache, which makes it a Denial of Service attack.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 6.0.0 to before 6.0.4
- What to do
- Upgrade to 6.0.4 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
7. CVE-2017-12425: Integer overflow
- What NVD says
- 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.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 4.0.2; 4.0.3; 4.1.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
8. CVE-2021-36740: HTTP request smuggling
- What NVD says
- Varnish Cache, with HTTP/2 enabled, allows request smuggling and VCL authorization bypass via a large Content-Length header for a POST request. This affects Varnish Enterprise 6.0.x before 6.0.8r3, and Varnish Cache 5.x and 6.x before 6.5.2, 6.6.x before 6.6.1, and 6.0 LTS before 6.0.8.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has limited impact on confidentiality and integrity.
- Affected versions
- 6.0.0 through 6.0.5; 6.0.0 through 6.0.7
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
9. CVE-2013-4484: Memory buffer overflow
- What NVD says
- Varnish before 3.0.5 allows remote attackers to cause a denial of service (child-process crash and temporary caching outage) via a GET request with trailing whitespace characters and no URI.
- Affected versions
- 2.0.0
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
Varnish end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Varnish vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Varnish releases are 9.1, 9.0.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Varnish 9.1 | Sep 16, 2026 | Sep 16, 2027 | 9.1.0 | Supported |
| Varnish 9.0 | Mar 16, 2026 | Mar 16, 2027 | 9.0.2 | Supported |
| Varnish 8.0 | Sep 15, 2025 | Sep 15, 2026 | 8.0.2 | End of life |
| Varnish 7.7 | Mar 17, 2025 | Mar 15, 2026 | 7.7.3 | End of life |
| Varnish 7.6 | Sep 13, 2024 | Sep 15, 2025 | 7.6.5 | End of life |
| Varnish 7.5 | Mar 18, 2024 | Mar 15, 2025 | 7.5.0 | End of life |
| Varnish 7.4 | Sep 15, 2023 | Sep 15, 2024 | 7.4.3 | End of life |
| Varnish 7.3 | Mar 15, 2023 | Mar 15, 2024 | 7.3.2 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
How to check if your Varnish is vulnerable
Find the exact version first, then compare it with the affected and fixed versions in each CVE above.
varnishd -V
On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.
Varnish security checklist
- Bind the service to a private network and require authentication where supported.
- Never expose the cache port to the internet.
- Apply security releases after testing.
- Limit who can run administrative commands.
- Monitor for unusual connections.
Where you run Varnish matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Varnish: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than Varnish. A flaw anywhere in the chain can be the way in, so also review our guides to Nginx vulnerabilities, Memcached vulnerabilities and Apache HTTP Server vulnerabilities.
How to get alerted about new Varnish vulnerabilities
NVD received 0 new Varnish CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Varnish and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Varnish alone. These guides cover the technologies it is most often deployed with.
- Nginx vulnerabilities: Nginx is a popular web server, reverse proxy and load balancer.
- Memcached vulnerabilities: Memcached is a high-performance in-memory caching system.
- Apache HTTP Server vulnerabilities: Apache HTTP Server is one of the most widely deployed open-source web servers.
- Squid vulnerabilities: Squid is a caching and forward proxy server for the web.
- Fastly vulnerabilities: Fastly is an edge cloud platform and CDN.
Frequently asked questions about Varnish vulnerabilities
What are the most critical Varnish vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Varnish CVEs include CVE-2022-23959 (CVSS 9.1), CVE-2017-8807 (CVSS 9.1), CVE-2022-45060 (CVSS 7.5). The guide above ranks the 9 most critical with affected versions and fixes.
Have Varnish vulnerabilities been exploited in real attacks?
For the Varnish product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep Varnish patched.
How many vulnerabilities does Varnish have?
As of Nov 3, 2026 the National Vulnerability Database lists 9 CVEs for Varnish, with 2 rated critical by CVSS v3. 0 were published in the previous twelve months.
Which Varnish versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Varnish releases as supported: 9.1, 9.0. Releases that are not listed are past their announced end of life.
How do I check which Varnish version I run?
Run varnishd -V on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.
How can I get alerted when a new Varnish CVE is published?
Add Varnish to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Varnish and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Varnish secure?
Varnish is as secure as its patch level. NVD published 0 new Varnish CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2022-23959?
CVE-2022-23959 is a critical Varnish vulnerability with a CVSS score of 9.1, published Jan 26, 2022. In Varnish Cache before 6.6.2 and 7.x before 7.0.2, Varnish Cache 6.0 LTS before 6.0.10, and and Varnish Enterprise (Cache Plus) 4.1.x before 4.1.11r6 and 6.0.x before 6.0.9r4, request smuggling can occur for HTTP/1 connections.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Varnish (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.