Live threats

All CVEs / Google

CVE-2022-23587Google Tensorflow

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
Feb 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow is vulnerable to an integer overflow during cost estimation for crop and resize. Since the cropping parameters are user controlled, a malicious person can trigger undefined behavior. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tensorflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI tensorflow < 2.5.3 2.5.3 pip install "tensorflow>=2.5.3"
PyPI tensorflow ≥ 2.6.0 < 2.6.3 2.6.3 pip install "tensorflow>=2.6.3"
PyPI tensorflow ≥ 2.7.0 < 2.7.1 2.7.1 pip install "tensorflow>=2.7.1"
PyPI tensorflow < 2.5.3 2.5.3 pip install "tensorflow>=2.5.3"
PyPI tensorflow ≥ 2.6.0 < 2.6.3 2.6.3 pip install "tensorflow>=2.6.3"
PyPI tensorflow ≥ 2.7.0 < 2.7.1 2.7.1 pip install "tensorflow>=2.7.1"
PyPI tensorflow-cpu < 2.5.3 2.5.3 pip install "tensorflow-cpu>=2.5.3"
PyPI tensorflow-cpu ≥ 2.6.0 < 2.6.3 2.6.3 pip install "tensorflow-cpu>=2.6.3"
PyPI tensorflow-cpu ≥ 2.7.0 < 2.7.1 2.7.1 pip install "tensorflow-cpu>=2.7.1"
PyPI tensorflow-cpu < 2.5.3 2.5.3 pip install "tensorflow-cpu>=2.5.3"
PyPI tensorflow-cpu ≥ 2.6.0 < 2.6.3 2.6.3 pip install "tensorflow-cpu>=2.6.3"
PyPI tensorflow-gpu < 2.5.3 2.5.3 pip install "tensorflow-gpu>=2.5.3"
PyPI tensorflow-gpu ≥ 2.6.0 < 2.6.3 2.6.3 pip install "tensorflow-gpu>=2.6.3"
PyPI tensorflow-gpu ≥ 2.7.0 < 2.7.1 2.7.1 pip install "tensorflow-gpu>=2.7.1"
PyPI tensorflow-gpu < 2.5.3 2.5.3 pip install "tensorflow-gpu>=2.5.3"
PyPI tensorflow-gpu ≥ 2.6.0 < 2.6.3 2.6.3 pip install "tensorflow-gpu>=2.6.3"

Per OSV / GitHub Advisories (GHSA-8jj7-5vxc-pg2q, PYSEC-2026-3137, PYSEC-2022-96, PYSEC-2022-151). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googletensorflow≤ 2.5.2
googletensorflow≥ 2.6.0 ≤ 2.6.2
googletensorflow2.7.0

Official sources

References

Links published by the sources. Open them with care.