CVE-2020-26268
Python vulnerability analysis and mitigation

Overview

The CVE-2020-26268 vulnerability affects TensorFlow's tf.raw_ops.ImmutableConst operation, which was discovered and disclosed on December 10, 2020. The vulnerability impacts multiple versions of TensorFlow before versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0. The issue occurs when the operation attempts to handle non-integral type tensors from memory-mapped files (NVD).

Technical details

The vulnerability stems from the tf.raw_ops.ImmutableConst operation's handling of constant tensors created from memory-mapped files. When processing non-integral type tensors, the operation attempts to write to memory areas that are supposed to be immutable. This occurs because the allocator used to return the buffer data is not marked as returning an opaque handle, as the required virtual method is not overridden. The vulnerability has been assigned a CVSS v3.1 score of 4.4 (MEDIUM) (NVD, GitHub Advisory).

Impact

When exploited, this vulnerability causes the Python interpreter to crash with a segmentation fault when attempting to process non-integral type tensors. The crash occurs specifically when there are sufficient bytes in the memory-mapped file for the tensor creation (GitHub Advisory).

Exploitability

The vulnerability can be triggered by creating an ImmutableConst operation with a non-integral tensor type (such as string) pointing to a memory-mapped file with sufficient bytes. While the system properly handles cases where the file is too small, it crashes when the file contains enough bytes for tensor creation (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0. The fix involves marking the MemmappedTensorAllocator as returning an opaque handle to prevent writing to immutable memory regions. Users are advised to upgrade to these patched versions (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-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 2026
CVE-2026-55468MEDIUM4.3
  • Python logoPython
  • wagtail
NoYesAug 24, 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