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

Most critical Varnish vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2022-239599.1 Critical2022-01-26HTTP request smugglingNo
2CVE-2017-88079.1 Critical2017-11-16Memory buffer overflowNo
3CVE-2022-450607.5 High2022-11-09Improper input validationNo
4CVE-2019-206377.5 High2020-04-08Improper removal of sensitive dataNo
5CVE-2020-116537.5 High2020-04-08Reachable assertionNo
6CVE-2019-158927.5 High2019-09-03Reachable assertionNo
7CVE-2017-124257.5 High2017-08-04Integer overflowNo
8CVE-2021-367406.5 Medium2021-07-14HTTP request smugglingNo
9CVE-2013-44845.0 (v2) Medium2013-11-01Memory buffer overflowNo

Each Varnish CVE explained

1. CVE-2022-23959: HTTP request smuggling

  • CVSS 9.1 Critical
  • Published 2022-01-26
  • CWE-444
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)

NVD record for CVE-2022-23959 (opens in a new tab)

2. CVE-2017-8807: Memory buffer overflow

  • CVSS 9.1 Critical
  • Published 2017-11-16
  • CWE-119
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)

NVD record for CVE-2017-8807 (opens in a new tab)

3. CVE-2022-45060: Improper input validation

  • CVSS 7.5 High
  • Published 2022-11-09
  • CWE-20
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)

NVD record for CVE-2022-45060 (opens in a new tab)

4. CVE-2019-20637: Improper removal of sensitive data

  • CVSS 7.5 High
  • Published 2020-04-08
  • CWE-212
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)

NVD record for CVE-2019-20637 (opens in a new tab)

5. CVE-2020-11653: Reachable assertion

  • CVSS 7.5 High
  • Published 2020-04-08
  • CWE-617
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)

NVD record for CVE-2020-11653 (opens in a new tab)

6. CVE-2019-15892: Reachable assertion

  • CVSS 7.5 High
  • Published 2019-09-03
  • CWE-617
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)

NVD record for CVE-2019-15892 (opens in a new tab)

7. CVE-2017-12425: Integer overflow

  • CVSS 7.5 High
  • Published 2017-08-04
  • CWE-190
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).

NVD record for CVE-2017-12425 (opens in a new tab)

8. CVE-2021-36740: HTTP request smuggling

  • CVSS 6.5 Medium
  • Published 2021-07-14
  • CWE-444
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).

NVD record for CVE-2021-36740 (opens in a new tab)

9. CVE-2013-4484: Memory buffer overflow

  • CVSS v2 5.0 Medium
  • Published 2013-11-01
  • CWE-119
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).

NVD record for CVE-2013-4484 (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.

Varnish release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Varnish 9.1Sep 16, 2026Sep 16, 20279.1.0Supported
Varnish 9.0Mar 16, 2026Mar 16, 20279.0.2Supported
Varnish 8.0Sep 15, 2025Sep 15, 20268.0.2End of life
Varnish 7.7Mar 17, 2025Mar 15, 20267.7.3End of life
Varnish 7.6Sep 13, 2024Sep 15, 20257.6.5End of life
Varnish 7.5Mar 18, 2024Mar 15, 20257.5.0End of life
Varnish 7.4Sep 15, 2023Sep 15, 20247.4.3End of life
Varnish 7.3Mar 15, 2023Mar 15, 20247.3.2End 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

  1. Bind the service to a private network and require authentication where supported.
  2. Never expose the cache port to the internet.
  3. Apply security releases after testing.
  4. Limit who can run administrative commands.
  5. 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.

Few stacks run Varnish alone. These guides cover the technologies it is most often deployed with.

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

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.