CVE-2021-41221
CVE-2021-41221 — Access to invalid memory during shape inference in `Cudnn*` ops
TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for the `Cudnn*` operations in TensorFlow can be tricked into accessing invalid memory, via a heap buffer overflow. This occurs because the ranks of the `input`, `input_h` and `input_c` parameters are not validated, but code assumes they have certain values. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.8
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-120
References
2 on the record
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-20333 Cisco Secure Firewall Adaptive Security Appliance (ASA) and Secure Firewall Threat Defense (FTD) Buffer Overflow VulnerabilityCVSS 9.9 · CISA KEV
- CVE-2023-33010 Zyxel Multiple Firewalls Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2023-33009 Zyxel Multiple Firewalls Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-37055 D-Link Routers Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-15069 Sophos XG Firewall Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-5135 SonicWall SonicOS Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-120other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.