CVE-2022-35999: PYSEC-2026-946 - TensorFlow vulnerable to `CHECK` fail in `Conv2DBackpropInput`

CVE-2022-35999 · Severity: low · CVSS 3.1 · Published 2026-07-06

TensorFlow is a machine learning framework used to build and train neural networks. When the Conv2DBackpropInput operation receives specially crafted empty input data, the framework crashes due to a failed internal safety check, allowing an attacker to cause a denial of service by interrupting model training or inference operations.

Technologies: Google TensorFlow, tensorflow (PyPI), tensorflow-cpu (PyPI), tensorflow-gpu (PyPI). Vendors: Google, PyPI.

Quick answers

Is CVE-2022-35999 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-35999 being exploited in the wild.
How severe is CVE-2022-35999?
Low severity, with a CVSS score of 3.1, published 6 July 2026.
Which products and versions are affected?
Google TensorFlow < 2.10.0; specifically 0.12.0 through 2.7.1, 2.8.0, 2.9.0; tensorflow (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.2,introduced=2.8.0,fixed=2.8.1,introduced=2.9.0,fixed=2.9.1; tensorflow-cpu (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.2,introduced=2.8.0,fixed=2.8.1,introduced=2.9.0,fixed=2.9.1; tensorflow-gpu (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.2,introduced=2.8.0,fixed=2.8.1,introduced=2.9.0,fixed=2.9.1.
Is there a fix for CVE-2022-35999?
Yes. tensorflow (PyPI): upgrade to 2.9.1 or later; tensorflow-cpu (PyPI): upgrade to 2.9.1 or later; tensorflow-gpu (PyPI): upgrade to 2.9.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2022-35999 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2022-35999?
Check whether you run Google TensorFlow, tensorflow (PyPI), tensorflow-cpu (PyPI) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • tensorflow (PyPI): upgrade to 2.9.1 or later
    pip install "tensorflow>=2.9.1"
  • tensorflow-cpu (PyPI): upgrade to 2.9.1 or later
    pip install "tensorflow-cpu>=2.9.1"
  • tensorflow-gpu (PyPI): upgrade to 2.9.1 or later
    pip install "tensorflow-gpu>=2.9.1"

Technical details

This vulnerability is a CHECK fail (assertion failure) in the Conv2DBackpropInput operation when processing empty out_backprop tensors with dimensions like [3, 1, 0, 1]. The root cause is insufficient input validation before processing in both CPU (dnnl) and GPU (cudnn) kernels. An attacker can trigger this by calling tf.raw_ops.Conv2DBackpropInput with crafted tensor dimensions, causing the process to abort. No authentication is required; the operation is network-accessible if exposed via a TensorFlow Serving endpoint or similar deployment. The fix adds proper validation of input dimensions before processing, included in TensorFlow 2.10.0 and backported to 2.9.1, 2.8.1, and 2.7.2.

Affected products

  • Google TensorFlow < 2.10.0; specifically 0.12.0 through 2.7.1, 2.8.0, 2.9.0
  • Google TensorFlow CPU < 2.8.1; specifically 1.15.0 through 2.7.1, 2.8.0
  • Google TensorFlow GPU < 2.10.0; specifically 0.12.0 through 2.7.1, 2.8.0, 2.9.0

Identifiers

  • CVE-2022-35999
  • GHSA-37jf-mjv6-xfqw
  • PYSEC-2026-3092
  • PYSEC-2026-3269
  • PYSEC-2026-946

Timeline

  • 2022-09-16: disclosed
  • 2022-09-16: patched: Fix included in TensorFlow 2.10.0; backported to 2.9.1, 2.8.1, and 2.7.2

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.