PyPI: tensorflow-macos

CVE-2022-41880

Safety vulnerability ID: SFTY-20221118-40454

Safety legacy ID: pyup.io-58277

Tensorflow-macos 2.8.4, 2.9.3 and 2.10.1 include a fix for CVE-2022-41880: When the 'BaseCandidateSamplerOp' function receives a value in 'true_classes' larger than 'range_max', a heap oob read occurs. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8w5g-3wcv-9g2j

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

Overview

Tensorflow vulnerable to Out-of-Bounds Read

Advisory

Tensorflow-macos 2.8.4, 2.9.3 and 2.10.1 include a fix for CVE-2022-41880: When the 'BaseCandidateSamplerOp' function receives a value in 'true_classes' larger than 'range_max', a heap oob read occurs. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8w5g-3wcv-9g2j

Affected Package

Affecting tensorflow-macos package, versions<2.8.4>=2.9.0rc0,<2.9.3>=2.10.0rc0,<2.10.1

Also affects

---

How to Fix

Upgradetensorflow-macosto2.11.02.11.02.11.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