CVE-2022-41888
Python vulnerability analysis and mitigation

Overview

CVE-2022-41888 affects TensorFlow, an open source platform for machine learning. The vulnerability was discovered in the tf.image.generate_bounding_box_proposals function when running on GPU, where the function fails to validate that the 'scores' input parameter must be of rank 4. This vulnerability was disclosed on November 18, 2022, affecting TensorFlow versions prior to 2.11.0 (GitHub Advisory).

Technical details

The vulnerability exists in the GPU implementation of the generate_bounding_box_proposals function where input validation is missing for the 'scores' parameter rank. The function expects the 'scores' input to be a rank 4 tensor, but this requirement was not enforced, potentially leading to undefined behavior. The issue was fixed by adding explicit rank checks at the beginning of the function implementation (TensorFlow Commit).

Impact

The vulnerability could lead to floating-point exceptions (FPE) when incorrect input ranks are provided to the function. This could potentially cause program crashes or unexpected behavior in applications using the affected TensorFlow versions (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple TensorFlow versions: 2.8.4, 2.9.3, 2.10.1, and 2.11.0. Users should upgrade to these patched versions to resolve the issue. The fix involves adding proper input validation to check the rank of the 'scores' parameter (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-22871HIGH8.7
  • PythonPython
  • guarddog
NoYesJan 13, 2026
GHSA-58pv-8j8x-9vj2HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 13, 2026
CVE-2026-22779MEDIUM6.3
  • PythonPython
  • blacksheep
NoYesJan 14, 2026
CVE-2026-21889LOW2.3
  • PythonPython
  • weblate
NoYesJan 14, 2026
CVE-2025-68492LOW2.3
  • PythonPython
  • chainlit
NoYesJan 14, 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