CVE-2021-41211
CVE-2021-41211 — Heap OOB read in shape inference for `QuantizeV2`
TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `QuantizeV2` can trigger a read outside of bounds of heap allocated array. This occurs whenever `axis` is a negative value less than `-1`. In this case, we are accessing data before the start of a heap buffer. The code allows `axis` to be an optional argument (`s` would contain an `error::NOT_FOUND` error code). Otherwise, it assumes that `axis` is a valid index into the dimensions of the `input` tensor. If `axis` is less than `-1` then this results in a heap OOB read. 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.1
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.1 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-125
References
2 on the record
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-3055 Insufficient input validation leading to memory overreadCVSS 9.8 · CISA KEV
- CVE-2026-11645 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2025-5419 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2024-0519 Google Chromium V8 Out-of-Bounds Memory Access VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2017-5030 Google Chromium V8 Memory Corruption VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2016-1646 Google Chromium V8 Out-of-Bounds Read VulnerabilityCVSS 8.8 · CISA KEV
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-125other 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.