PT-2022-23085 · Google · Tensorflow

·

CVE-2022-35987

·

Published

2022-09-16

·

Updated

2026-07-13

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.10.0 TensorFlow versions 2.9.0 through 2.9.0 TensorFlow versions 2.8.0 through 2.8.0 TensorFlow versions 2.7.0 through 2.7.1
Description The DenseBincount function in TensorFlow assumes its input tensor weights to either have the same shape as its input tensor input or to be length-0. A different weights shape will trigger a CHECK fail that can be used to trigger a denial of service attack.
Recommendations For TensorFlow versions prior to 2.10.0, update to TensorFlow 2.10.0 or later. For TensorFlow versions 2.9.0, update to TensorFlow 2.9.1 or later. For TensorFlow versions 2.8.0, update to TensorFlow 2.8.1 or later. For TensorFlow versions 2.7.0 through 2.7.1, update to TensorFlow 2.7.2 or later.

Exploit

Fix

Assertion Failure

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

Weakness Enumeration

Related Identifiers

BIT-TENSORFLOW-2022-35987
CVE-2022-35987
GHSA-W62H-8XJM-FV49
OPENSUSE-SU-2024:12355-1
PYSEC-2026-1043
PYSEC-2026-3252
PYSEC-2026-3377

Affected Products

Tensorflow