PyPI: tensorflow-macos

CVE-2023-25675

Safety vulnerability ID: SFTY-20230325-51355

Safety legacy ID: pyup.io-58250

Tensorflow-macos 2.11.1 and 2.12.0 include a fix for CVE-2023-25675: 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. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

TensorFlow has Segfault in Bincount with XLA

Advisory

Tensorflow-macos 2.11.1 and 2.12.0 include a fix for CVE-2023-25675: 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. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj

Affected Package

Affecting tensorflow-macos package, versions<2.11.1>=2.12.0rc0,<2.12.0

Also affects

---

How to Fix

Upgradetensorflow-macosto2.12.02.12.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more