CVE-2020-15191: Undefined behavior in Tensorflow

tensorflow Updated 02 Oct 2025

Summary

25/09/2020
Yes i
Moderate
5.3

CVE-2020-15191: Undefined behavior in Tensorflow. Affects tensorflow across 2 version ranges.

>= 2.2.0, < 2.2.1 >= 2.3.0, < 2.3.1

Fixed in 2.2.1 or 2.3.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-15191 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Tensorflow is an open-source machine learning framework developed by Google. It provides a comprehensive ecosystem of tools, libraries, and resources for building and deploying machine learning models. Tensorflow is widely used in various domains, including research, industry, and academia. However, a vulnerability has been discovered in Tensorflow that can lead to undefined behavior and potential security issues.

Vulnerability Detail

The vulnerability (CVE-2020-15191) in Tensorflow arises when an invalid argument is passed to the dlpack.to_dlpack function. This can cause variables to bind to null pointers, leading to undefined behavior. The issue lies in the improper checking of the status argument, which can result in references being bound to null pointers. This vulnerability can be exploited by an attacker to cause a denial of service or potentially execute arbitrary code. The vulnerability has a CVSS score of 5.3, indicating a moderate severity level.

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow==2.21.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.2.0, < 2.2.1 2.2.1
    pip install --upgrade "tensorflow==2.2.1"
  • >= 2.3.0, < 2.3.1 2.3.1
    pip install --upgrade "tensorflow==2.3.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. The recommended solution is to upgrade to the patched versions of Tensorflow.

Conclusion

In conclusion, the vulnerability (CVE-2020-15191) in Tensorflow can lead to undefined behavior and potential security issues. It is recommended to upgrade to TensorFlow 2.2.1 or 2.3.1, which include patches for the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for tensorflow →

Share this vulnerability

FAQ

Tensorflow is an open-source machine learning framework developed by Google. It provides tools and resources for building and deploying machine learning models.

The vulnerability can lead to undefined behavior and potential security issues. It can be exploited by an attacker to cause a denial of service or potentially execute arbitrary code.

To fix this vulnerability, it is recommended to upgrade to TensorFlow 2.2.1 or 2.3.1, which include patches for the issue.

No specific workaround is provided for this vulnerability. Upgrading to the patched versions is the recommended solution.

The vulnerability has a CVSS score of 5.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for tensorflow.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow==2.21.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.2.0, < 2.2.1 2.2.1
    pip install --upgrade "tensorflow==2.2.1"
  • >= 2.3.0, < 2.3.1 2.3.1
    pip install --upgrade "tensorflow==2.3.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback