CVE-2018-21233
Python vulnerability analysis and mitigation

Overview

TensorFlow versions before 1.7.0 contained a vulnerability in the BMP decoder component (CVE-2018-21233). The vulnerability was discovered by the Blade Team of Tencent and involves an integer overflow that causes an out-of-bounds read in the DecodeBmp feature of the BMP decoder located in core/kernels/decode_bmp_op.cc (TF Advisory).

Technical details

The vulnerability stems from insufficient checking of header sizes and signed integer values in the BMP (bitmap image file graphics format) decoder. The issue received a CVSS v3.1 Base Score of 6.5 (MEDIUM) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N, indicating network accessibility with user interaction required (NVD).

Impact

The vulnerability could lead to an unhandled process crash when processing invalid BMP files and potentially allow read access to unintended regions of the TensorFlow process memory, potentially exposing sensitive information (TF Advisory).

Mitigation and workarounds

The vulnerability was patched in TensorFlow version 1.7.0 and newer releases. A fix was also provided via GitHub commit 49f73c55, which implemented more stringent checks in the DecodeBmp function. Users running TensorFlow in production or processing untrusted data are encouraged to upgrade to version 1.7.0 or apply the security patch (TF 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-70492HIGH8.7
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70494HIGH8.1
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70493MEDIUM6.5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70491MEDIUM6.5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 2026
CVE-2026-70490MEDIUM6.3
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesAug 04, 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