CVE-2021-41226 - CVE House
Back to Database
Status published High CVE-2021-41226

Heap OOB read in `SparseBinCount`

Vulnerability Description

TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of the `values` argument and the shape of the sparse output. 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-41226

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

tensorflow
Vulnerable Versions:
>= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4

Timeline

Official Publish: November 5th, 2021
Last Modified: August 4th, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weaknesses (CWE)