PyPI: tensorflow-macos

CVE-2023-25665

Safety vulnerability ID: SFTY-20230325-39362

Safety legacy ID: pyup.io-58251

Tensorflow-macos 2.11.1 and 2.12.0 include a fix for CVE-2023-25665: Prior to versions 2.12.0 and 2.11.1, when 'SparseSparseMaximum' is given invalid sparse tensors as inputs, it can give a null pointer error. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-558h-mq8x-7q9g

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

Overview

TensorFlow has Null Pointer Error in SparseSparseMaximum

Advisory

Tensorflow-macos 2.11.1 and 2.12.0 include a fix for CVE-2023-25665: Prior to versions 2.12.0 and 2.11.1, when 'SparseSparseMaximum' is given invalid sparse tensors as inputs, it can give a null pointer error. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-558h-mq8x-7q9g

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