Heap-based buffer overflow in TensorFlow - CVE-2021-41226

 

Heap-based buffer overflow in TensorFlow - CVE-2021-41226

Published: November 5, 2021 / Updated: May 3, 2026


Vulnerability identifier: #VU129184
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-41226
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
TensorFlow
Software vendor:
TensorFlow

Description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to a heap-based out-of-bounds write in the SparseBinCount implementation when processing crafted sparse bincount input. A remote attacker can supply malformed values that are not properly validated against the sparse output shape to cause a denial of service.


Remediation

Install security update from vendor's website.

External links