CVE-2022-29197: Google Tensorflow

Medium severity, CVSS 5.5. EPSS: 0.3% chance of exploitation in the next 30 days.

TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.UnsortedSegmentJoin` does not fully validate the input arguments. This results in a `CHECK`-failure which can be used to trigger a denial of service attack. The code assumes `num_segments` is a scalar but there is no validation for this before accessing its value. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

Affected products

  • Google Tensorflow: before 2.6.4 (fixed in 2.6.4); from 2.7.0, before 2.7.2 (fixed in 2.7.2); version 2.7.0 only; version 2.8.0 only; version 2.9.0 only

Published 2022-05-20. Last modified 2026-06-17.