CVE-2022-21739
Python vulnerability analysis and mitigation

Overview

CVE-2022-21739 is a moderate severity vulnerability discovered in TensorFlow's QuantizedMaxPool implementation. The vulnerability was disclosed on February 2, 2022, affecting TensorFlow versions below 2.8.0. The issue allows attackers to trigger undefined behavior through reference binding to a null pointer when providing specific user-controlled inputs (GitHub Advisory).

Technical details

The vulnerability exists in the QuantizedMaxPool operation where user-controlled inputs can trigger a reference binding to null pointer. This occurs when the operation receives empty lists for min_input or max_input parameters. The issue manifests through undefined behavior in the implementation when processing these inputs (GitHub Advisory).

Impact

The vulnerability can lead to undefined behavior in applications using the affected TensorFlow versions. While rated as moderate severity, the impact is limited to applications specifically using the QuantizedMaxPool operation with malformed inputs (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple TensorFlow versions: 2.5.3, 2.6.3, 2.7.1, and 2.8.0. Users are advised to upgrade to these patched versions. The fix was implemented in GitHub commit 53b0dd6dc5957652f35964af16b892ec9af4a559, which adds proper validation of min_input and max_input parameters (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-50271HIGH7.5
  • Python logoPython
  • ddtrace
NoYesJul 17, 2026
CVE-2026-54559MEDIUM6.9
  • Python logoPython
  • pocketsphinx
NoYesJul 17, 2026
GHSA-mfr4-mq8w-vmg6MEDIUM6.6
  • Python logoPython
  • proot-distro
NoYesJul 17, 2026
CVE-2026-47144MEDIUM5.5
  • JavaScript logoJavaScript
  • shamefile
NoYesJul 20, 2026
CVE-2026-46715MEDIUM5.3
  • Python logoPython
  • flask-security-too
NoYesJul 20, 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