CVE-2022-35984
Python vulnerability analysis and mitigation

Overview

CVE-2022-35984 is a vulnerability discovered in TensorFlow affecting versions prior to 2.10.0. The vulnerability was disclosed on September 15, 2022, and affects the ParameterizedTruncatedNormal operation in TensorFlow. The issue impacts multiple versions of TensorFlow packages including tensorflow, tensorflow-cpu, and tensorflow-gpu distributed through pip (TF Advisory).

Technical details

The vulnerability stems from an incorrect assumption in the ParameterizedTruncatedNormal operation where the shape parameter is assumed to be of type int32. When a valid shape of type int64 is provided, it results in a mismatched type CHECK fail. This type confusion issue was addressed with improved checks in the TensorFlow codebase (TF Commit).

Impact

The vulnerability can be exploited to trigger a denial of service attack when providing a shape parameter of type int64 to the ParameterizedTruncatedNormal operation. This can cause the application to crash due to the mismatched type check failure (TF Advisory).

Exploitability

The vulnerability requires an attacker to provide specific input to the ParameterizedTruncatedNormal operation with a shape parameter of type int64. A proof of concept exploit has been documented that demonstrates how to trigger the vulnerability using TensorFlow's raw operations API (TF Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple TensorFlow versions: 2.7.4, 2.8.3, 2.9.2, and 2.10.0. Users are advised to upgrade to these patched versions to mitigate the vulnerability. The fix involves improving type handling in the ParameterizedTruncatedNormal operation (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-84366HIGH7.4
  • Python logoPython
  • python3.10
NoYesSep 01, 2026
CVE-2026-53720MEDIUM5.1
  • Python logoPython
  • pymonocypher
NoYesSep 03, 2026
CVE-2026-84311MEDIUM4.8
  • Python logoPython
  • pypdf
NoYesSep 01, 2026
CVE-2026-84310MEDIUM4.8
  • Python logoPython
  • pypdf
NoYesSep 01, 2026
GHSA-wwv5-g3v4-889xLOW2.3
  • Python logoPython
  • tornado
NoYesSep 01, 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