CVE-2021-41220
CVE-2021-41220 — Use after free in `CollectiveReduceV2`
TensorFlow is an open source platform for machine learning. In affected versions the async implementation of `CollectiveReduceV2` suffers from a memory leak and a use after free. This occurs due to the asynchronous computation and the fact that objects that have been `std::move()`d from are still accessed. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, as this version is the only one that is also affected.
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-416
References
2 on the record
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-24085 Apple Multiple Products Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-22893 Ivanti Pulse Connect Secure Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-8439 Adobe Flash Player Dereferenced Pointer VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-1776 Microsoft Internet Explorer Memory Corruption VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-0496 Adobe Reader and Acrobat Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-109618 RCE via OOM corruptionCVSS 9.8 · CISA KEV
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-416other 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.