CVE-2022-23574
Python vulnerability analysis and mitigation

Overview

CVE-2022-23574 affects TensorFlow, an Open Source Machine Learning Framework. The vulnerability was discovered in TensorFlow's SpecializeType function, which contains a typo resulting in heap out-of-bounds read/write operations. The issue affects versions prior to 2.8.0, with a fix released in TensorFlow versions 2.8.0, 2.7.1, and 2.6.3 (GitHub Advisory).

Technical details

The vulnerability stems from a typo in the SpecializeType function where arg is initialized to the ith mutable argument in a loop where the loop index is j. This mismatch allows assignment to arg from outside the vector of arguments. Since this involves a mutable proto value, it enables both read and write operations to out-of-bounds data. The CVSS v3.1 score for this vulnerability is 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows attackers to perform both read and write operations outside the bounds of allocated memory, potentially leading to memory corruption, information disclosure, or arbitrary code execution. The high CVSS score indicates significant potential impact on the confidentiality, integrity, and availability of affected systems (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow version 2.8.0. The fix was also backported to versions 2.7.1 and 2.6.3. Users are advised to upgrade to these patched versions. The fix involves correcting the index variable in the SpecializeType function from i to j (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-22033HIGH8.6
  • PythonPython
  • label-studio
NoNoJan 12, 2026
CVE-2025-68472HIGH8.1
  • PythonPython
  • mindsdb
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf2
NoYesJan 10, 2026
CVE-2026-22250LOW2.5
  • PythonPython
  • wlc
NoYesJan 12, 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