CVE-2022-35979: PYSEC-2026-3372 - TensorFlow vulnerable to segfault in `QuantizedRelu` and `QuantizedRelu6`

CVE-2022-35979 · Severity: low · CVSS 3.1 · Published 2026-07-13

TensorFlow vulnerable to segfault in `QuantizedRelu` and `QuantizedRelu6`

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

Quick answers

Is CVE-2022-35979 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-35979 being exploited in the wild.
How severe is CVE-2022-35979?
Low severity, with a CVSS score of 3.1, published 13 July 2026.
Which products and versions are affected?
tensorflow (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.2, 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, 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, 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-35979?
Yes. tensorflow (PyPI): upgrade to 2.7.2, 2.9.1 or later; tensorflow-cpu (PyPI): upgrade to 2.7.2, 2.9.1 or later; tensorflow-gpu (PyPI): upgrade to 2.7.2, 2.9.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-35979?
Check whether you run tensorflow (PyPI), tensorflow-cpu (PyPI) or tensorflow-gpu (PyPI) 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.7.2, 2.9.1 or later
    pip install "tensorflow>=2.9.1"
  • tensorflow-cpu (PyPI): upgrade to 2.7.2, 2.9.1 or later
    pip install "tensorflow-cpu>=2.9.1"
  • tensorflow-gpu (PyPI): upgrade to 2.7.2, 2.9.1 or later
    pip install "tensorflow-gpu>=2.9.1"

Affected products

  • tensorflow (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.2, 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, 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, ECOSYSTEM:introduced=0,fixed=2.7.2,introduced=2.8.0,fixed=2.8.1,introduced=2.9.0,fixed=2.9.1

Identifiers

  • CVE-2022-35979
  • GHSA-v7vw-577f-vp8x
  • PYSEC-2026-1038
  • PYSEC-2026-3245
  • PYSEC-2026-3372

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