CVE-2022-41902: Out of bounds write in grappler in Tensorflow
Vulnerability summary
CVE-2022-41902 is a critical (CVSS 9.1) Out-of-bounds Write vulnerability in google tensorflow. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 53.5% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-12-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
TensorFlow is an open source platform for machine learning. The function MakeGrapplerFunctionItem takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered. We have patched the issue in GitHub commit a65411a1d69edfb16b25907ffb8f73556ce36bb7. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.8.4, 2.9.3, and 2.10.1.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · PypiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.68%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
Increase +0.18 pp
From 0.49% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI3 products
- tensorflow< 2.8.4 | ≥ 2.9.0, < 2.9.3 | ≥ 2.10.0, < 2.10.1
- tensorflow-cpu< 2.8.4 | ≥ 2.9.0, < 2.9.3 | ≥ 2.10.0, < 2.10.1
- tensorflow-gpu< 2.8.4 | ≥ 2.9.0, < 2.9.3 | ≥ 2.10.0, < 2.10.1
Google1 product
- tensorflow< 2.8.4 | ≥ 2.9.0, < 2.9.3 | 2.10.0
Tensorflow1 product
- tensorflow≥ 2.10.0, < 2.10.1 | ≥ 2.9.0, < 2.9.3 | < 2.8.4
3 vendors · 5 products
References
9 links- github.com/tensorflow/tensorflow/commit/a65411a1d69edfb16b25907ffb8f73556ce36bb7WEBPatchThird Party Advisory
- github.com/tensorflow/tensorflow/blob/master/tensorflow/core/grappler/utils/functions.ccWEBThird Party Advisory
- github.com/tensorflow/tensorflow/security/advisories/GHSA-cg88-rpvp-cjv5WEBPatchThird Party Advisory
- pypi.org/project/tensorflowPACKAGE