Skip to content
OpenAdvisories
High · 7.5 CVE-2023-25675 BIT-tensorflow-2023-25675EUVD-2023-0933GHSA-7x4v-9gxg-9hwjPYSEC-2026-3131PYSEC-2026-3294PYSEC-2026-967

TensorFlow has Segfault in Bincount with XLA

Published Mar 24, 2023 · Updated Feb 19, 2025 · Assigned by GitHub_M

Description

TensorFlow is an open source machine learning platform. When running versions prior to 2.12.0 and 2.11.1 with XLA, `tf.raw_ops.Bincount` segfaults when given a parameter `weights` that is neither the same shape as parameter `arr` nor a length-0 tensor. A fix is included in TensorFlow 2.12.0 and 2.11.1.

Affected products

VendorProductAffectedFixed
tensorflow tensorflow < 2.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 tensorflow 2.11.1-1 —
Azure Linux 2 (CBL-Mariner) tensorflow 2.11.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tensorflow < 2.11.1 2.11.1 GHSA-7x4v-9gxg-9hwj
PyPI tensorflow-cpu < 2.11.1 2.11.1 GHSA-7x4v-9gxg-9hwj
PyPI tensorflow-gpu < 2.11.1 2.11.1 GHSA-7x4v-9gxg-9hwj

References