CVE-2022-41902 json
Out of bounds write in grappler in Tensorflow
published 2022-11-21 3 y ago modified 2026-09-08 2 mo ago also BIT-tensorflow-2022-41902 , EUVD-2022-7310 , GHSA-cg88-rpvp-cjv5 , PYSEC-2026-3161 , PYSEC-2026-3310 , PYSEC-2026-981
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi tensorflow 2.8.4, 2.9.3, 2.10.1
- pypi tensorflow-cpu 2.8.4, 2.9.3, 2.10.1
- pypi tensorflow-gpu 2.8.4, 2.9.3, 2.10.1
- bitnami tensorflow 2.8.4, 2.9.3, 2.10.1
- google tensorflow 2.8.4, 2.9.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | tensorflow | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
| pypi | tensorflow-cpu | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
| pypi | tensorflow-gpu | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
| bitnami | tensorflow | <2.8.4 >=2.9.0, <2.9.3 >=2.10.0, <2.10.1 |
2.8.4 2.9.3 2.10.1 |
Affected products
- tensorflow tensorflow
Classification
References
-
github.com
/tensorflow/tensorflow/commit/a65411a1d69edfb16b25907ffb8f73556ce36bb7
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/security/advisories/GHSA-cg88-rpvp-cjv5
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/blob/master/tensorflow/core/grappler/utils/functions.cc#L221
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41902
advisory, web
-
github.com
/tensorflow/tensorflow
package
-
pypi.org
/project/tensorflow
package
-
github.com
/advisories/GHSA-cg88-rpvp-cjv5
advisory
-
pypi.org
/project/tensorflow-cpu
package
-
pypi.org
/project/tensorflow-gpu
package
Sources
- CVE List CVE-2022-41902
- GitHub Advisory GHSA-cg88-rpvp-cjv5
- NVD CVE-2022-41902
- OSV BIT-tensorflow-2022-41902
- OSV PYSEC-2026-3161
- OSV PYSEC-2026-3310
- OSV PYSEC-2026-981
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.