patchminder
Proof of concept · CISA assessment CVE-2022-29205

Crash (null pointer)in TensorFlow.

Published 20 May 2022 · Updated 22 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Medium 5.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, there is a potential for segfault / denial of service in TensorFlow by calling `tf.compat.v1.*` ops which don't yet have support for quantized types, which was added after migration to TensorFlow 2.x. In these scenarios, since the kernel is missing, a `nullptr` value is passed to `ParseDimensionValue` for the `py_value` argument. Then, this is dereferenced, resulting in segfault. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

What to do now
  • Upgrade tensorflow to 2.6.4, 2.7.2, 2.8.1, 2.9.0 or later, whichever matches your release line.
  • Upgrade tensorflow (PyPI) to 2.6.4, 2.7.2, 2.8.1 or later, whichever matches your release line.
  • Upgrade tensorflow-cpu (PyPI) to 2.6.4, 2.7.2, 2.8.1 or later, whichever matches your release line.
  • Upgrade tensorflow-gpu (PyPI) to 2.6.4, 2.7.2, 2.8.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
tensorflow
before 2.6.4
2.6.4
CVE record
tensorflow
2.7.0rc0 to before 2.7.2
2.7.2
CVE record
tensorflow
2.8.0rc0 to before 2.8.1
2.8.1
CVE record
tensorflow
2.9.0rc0 to before 2.9.0
2.9.0
CVE record
tensorflow (PyPI)
before 2.6.4
2.6.4
GitHub advisory
tensorflow (PyPI)
2.7.0 to before 2.7.2
2.7.2
GitHub advisory
tensorflow (PyPI)
2.8.0 to before 2.8.1
2.8.1
GitHub advisory
tensorflow-cpu (PyPI)
before 2.6.4
2.6.4
GitHub advisory
tensorflow-cpu (PyPI)
2.7.0 to before 2.7.2
2.7.2
GitHub advisory
tensorflow-cpu (PyPI)
2.8.0 to before 2.8.1
2.8.1
GitHub advisory
tensorflow-gpu (PyPI)
before 2.6.4
2.6.4
GitHub advisory
tensorflow-gpu (PyPI)
2.7.0 to before 2.7.2
2.7.2
GitHub advisory
tensorflow-gpu (PyPI)
2.8.0 to before 2.8.1
2.8.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 13 Apr 2022
    CVE ID reserved by GitHub_M.
  2. 20 May 2022
    Published in the CVE List.
  3. 22 Apr 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other TensorFlow vulnerabilities

Same weakness: Use of uninitialized resource

All CWE-908 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-29205: Crash (null pointer) in TensorFlow. https://patchminder.com/cve/cve-2022-29205/ (accessed 5 December 2026).