Home / Varnish-cache / Varnish Cache / CVE-2021-36740
CVE-2021-36740: is it exploited, and which versions of Varnish Cache are affected and fixed?
CVE-2021-36740 is a HTTP request smuggling vulnerability in Varnish Cache. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: varnish cache from 6.0.0 before 6.0.8, varnish cache 6.0.8, varnish cache from 6.0.0 through 6.0.5 and 7 more (NVD). Fixed in 6.0.8 (NVD). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-36740?
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.
From the CVE record by mitre, last updated August 4, 2024, 01:01 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| varnish-cache | varnish cache | from 6.0.0 before 6.0.8 | application |
| varnish-cache | varnish cache | 6.0.8 | application |
| varnish-software | varnish cache | from 6.0.0 through 6.0.5 | application |
| varnish-software | varnish cache | from 6.0.0 through 6.0.7 | application |
| varnish cache project | varnish cache | from 5.0.0 through 5.2.1 | application |
| varnish cache project | varnish cache | from 6.1.0 through 6.6.0 | application |
| fedoraproject | fedora | 33 | operating system |
| fedoraproject | fedora | 34 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:59 UTC.
How severe is CVE-2021-36740?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-36740 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.60% probability of exploitation activity in the next 30 days, percentile 76.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-444 Inconsistent Interpretation of HTTP Requests
Where are the vendor advisories and references?
- https://varnish-cache.org/security/VSV00007.html x_refsource_MISC
- https://docs.varnish-software.com/security/VSV00007/ x_refsource_MISC
- https://github.com/varnishcache/varnish-cache/commit/9be22198e258d0e7a5c41f4291792214a29405cf x_refsource_MISC
- https://github.com/varnishcache/varnish-cache/commit/82b0a629f60136e76112c6f2c6372cce77b683be x_refsource_MISC
- FEDORA-2021-36e10d3f9f vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-cf7585f0ca vendor-advisory, x_refsource_FEDORA
- DSA-5088 vendor-advisory, x_refsource_DEBIAN
When was it published, and where is the official record?
- Reserved
- July 14, 2021
- Published
- July 14, 2021, 16:07 UTC
- CVE record updated
- August 4, 2024, 01:01 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:59 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Varnish Cache?
- Apr 8, 2020CVE-2019-20637 Varnish Cache: improper Removal of Sensitive Information Before Storage or Transfer
- Apr 8, 2020CVE-2020-11653 Varnish Cache: reachable assertion (crash)
Questions about CVE-2021-36740
Is CVE-2021-36740 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 1.60% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Varnish Cache are affected by CVE-2021-36740?
varnish cache from 6.0.0 before 6.0.8, varnish cache 6.0.8, varnish cache from 6.0.0 through 6.0.5, varnish cache from 6.0.0 through 6.0.7, varnish cache from 5.0.0 through 5.2.1, varnish cache from 6.1.0 through 6.6.0 and 4 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-36740?
6.0.8, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-36740?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-36740?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.