Skip to content
HighVulnerability

CVE-2023-25675: TensorFlow segfault in tf.raw_ops.Bincount with mismatched weights under XLA

Identifier
CVE-2023-25675
Published
Record updated
View JSON
Affected
  • tensorflow < 2.11.1
  • tensorflow-cpu < 2.11.1
  • tensorflow-gpu < 2.11.1
Fixed in
2.11.1
  • tensorflow 2.11.1 released March 20, 2023, 5 days before disclosure
  • tensorflow-cpu 2.11.1 released March 20, 2023, 5 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2023-25675 affects TensorFlow versions prior to 2.12.0 and 2.11.1 when running with XLA. The tf.raw_ops.Bincount function segfaults when given a weights parameter that is neither the same shape as arr nor a length-0 tensor. The weakness is classified as CWE-697, Incorrect Comparison.

Mitigation

A fix is included in TensorFlow 2.12.0 and 2.11.1.