PT-2022-19461 · Google · Tensorflow

·

CVE-2022-29209

·

Published

2022-05-20

·

Updated

2026-07-09

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.9.0 TensorFlow versions prior to 2.8.1 TensorFlow versions prior to 2.7.2 TensorFlow versions prior to 2.6.4
Description TensorFlow is an open source platform for machine learning. The macros that TensorFlow uses for writing assertions (e.g., CHECK LT, CHECK GT, etc.) have an incorrect logic when comparing size t and int values. Due to type conversion rules, several of the macros would trigger incorrectly.
Recommendations For versions prior to 2.9.0, update to version 2.9.0 or later. For versions prior to 2.8.1, update to version 2.8.1 or later. For versions prior to 2.7.2, update to version 2.7.2 or later. For versions prior to 2.6.4, update to version 2.6.4 or later.

Exploit

Fix

Type Confusion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2022-29209
CVE-2022-29209
GHSA-F4RR-5M7V-WXCW
PYSEC-2026-3167
PYSEC-2026-3315
PYSEC-2026-986

Affected Products

Tensorflow