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

Vulnerabilityin TensorFlow.

Published 18 Nov 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 4.8
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.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.7.4, 2.8.1, 2.9.1
In plain words

TensorFlow is an open source platform for machine learning. When `tf.raw_ops.FusedResizeAndPadConv2D` is given a large tensor shape, it overflows. We have patched the issue in GitHub commit d66e1d568275e6a2947de97dca7a102a211e01ce. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.

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

Affected and fixed versions

Product or package
Affected
Fixed in
Source
tensorflow
2.9.0 to before 2.9.1
2.9.1
CVE record
tensorflow
2.8.0 to before 2.8.1
2.8.1
CVE record
tensorflow
before 2.7.4
2.7.4
CVE record
tensorflow (PyPI)
before 2.7.4
2.7.4
GitHub advisory
tensorflow (PyPI)
2.8.0 to before 2.8.1
2.8.1
GitHub advisory
tensorflow (PyPI)
2.9.0 to before 2.9.1
2.9.1
GitHub advisory
tensorflow-cpu (PyPI)
before 2.7.4
2.7.4
GitHub advisory
tensorflow-cpu (PyPI)
2.8.0 to before 2.8.1
2.8.1
GitHub advisory
tensorflow-cpu (PyPI)
2.9.0 to before 2.9.1
2.9.1
GitHub advisory
tensorflow-gpu (PyPI)
before 2.7.4
2.7.4
GitHub advisory
tensorflow-gpu (PyPI)
2.8.0 to before 2.8.1
2.8.1
GitHub advisory
tensorflow-gpu (PyPI)
2.9.0 to before 2.9.1
2.9.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. 30 Sep 2022
    CVE ID reserved by GitHub_M.
  2. 18 Nov 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:

All CWE-131 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-41885: Vulnerability in TensorFlow. https://patchminder.com/cve/cve-2022-41885/ (accessed 5 December 2026).