PyPI: tensorflow-gpu

CVE-2022-41895

Safety vulnerability ID: SFTY-20221118-59589

Safety legacy ID: pyup.io-55912

Tensorflow-gpu 2.8.4, 2.9.3 and 2.10.1 include a fix for CVE-2022-41895: If 'MirrorPadGrad' is given outsize input 'paddings', TensorFlow will give a heap OOB error. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gq2j-cr96-gvqx

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

Overview

`MirrorPadGrad` heap out of bounds read

Advisory

Tensorflow-gpu 2.8.4, 2.9.3 and 2.10.1 include a fix for CVE-2022-41895: If 'MirrorPadGrad' is given outsize input 'paddings', TensorFlow will give a heap OOB error. https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gq2j-cr96-gvqx

Affected Package

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

Also affects

---

How to Fix

Upgradetensorflow-gputo2.8.42.9.32.10.1or 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