PyPI: tensorflow-rocm-enhanced

CVE-2020-15204

Safety vulnerability ID: SFTY-20200925-11716

Safety legacy ID: pyup.io-58216

Tensorflow-rocm-enhanced versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, and 2.3.1 include a fix for CVE-2020-15204: In eager mode, TensorFlow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1 does not set the session state. Hence, calling "tf.raw_ops.GetSessionHandle" or "tf.raw_ops.GetSessionHandleV2" results in a null pointer dereference In linked snippet, in eager mode, "ctx->session_state()" returns "nullptr". Since code immediately dereferences this, we get a segmentation fault. The issue was patched in commit 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1

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

Overview

Segfault in Tensorflow

Advisory

Tensorflow-rocm-enhanced versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, and 2.3.1 include a fix for CVE-2020-15204: In eager mode, TensorFlow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1 does not set the session state. Hence, calling "tf.raw_ops.GetSessionHandle" or "tf.raw_ops.GetSessionHandleV2" results in a null pointer dereference In linked snippet, in eager mode, "ctx->session_state()" returns "nullptr". Since code immediately dereferences this, we get a segmentation fault. The issue was patched in commit 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1

Affected Package

Affecting tensorflow-rocm-enhanced package, versions<1.15.4>=2.0.0a0,<2.0.3>=2.1.0a0,<2.1.2>=2.2.0a0,<2.2.1>=2.3.0a0,<2.3.1

Also affects

---

How to Fix

Upgradetensorflow-rocm-enhancedto1.15.42.3.12.3.12.3.12.3.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