CVE-2020-15191
Python vulnerability analysis and mitigation

Overview

In TensorFlow versions before 2.2.1 and 2.3.1, if a user passes an invalid argument to dlpack.to_dlpack, the expected validations will cause variables to bind to nullptr while setting a status variable to the error condition. This vulnerability was discovered in September 2020 and affects the DLPack format conversion functionality (TF Release, GitHub Advisory).

Technical details

The vulnerability exists in the DLPack conversion code where the status argument is not properly checked after calling TFE_TensorHandleDevicePointer() and GetDlDataType(). This leads to code binding references to null pointers when processing shape and stride arrays. The issue manifests in tensorflow/c/eager/dlpack.cc where dlm_tensor->dl_tensor.shape and dlm_tensor->dl_tensor.strides are assigned values without proper null checks, resulting in undefined behavior that is detected when compiling with -fsanitize=null (GitHub Advisory).

Impact

The vulnerability can lead to undefined behavior and potential segmentation faults when invalid arguments are passed to the dlpack.to_dlpack function. This could potentially be exploited to cause application crashes or other undefined behavior in systems using the affected TensorFlow versions (TF Release).

Exploitability

The vulnerability requires passing invalid arguments to the dlpack.to_dlpack function. It was discovered during variant analysis of a related vulnerability, suggesting it may be exploitable under specific conditions (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in TensorFlow versions 2.2.1 and 2.3.1. Users are recommended to upgrade to these patched versions. The fix includes proper validation of status checks and handling of null pointers in the DLPack conversion code (TF Release, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61667CRITICAL9.9
  • Python logoPython
  • dirac
NoYesSep 15, 2026
CVE-2026-45579CRITICAL9.9
  • Python logoPython
  • dirac
NoYesSep 15, 2026
CVE-2026-61668HIGH8.1
  • Python logoPython
  • dirac
NoYesSep 15, 2026
CVE-2026-55863MEDIUM5.3
  • Python logoPython
  • motioneye
NoYesSep 15, 2026
CVE-2026-53954MEDIUM4.3
  • Python logoPython
  • bugsink
NoYesSep 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management