CVE-2022-23592 json
Out of bounds read in Tensorflow
published 2022-02-04 4 y ago modified 2026-09-08 2 mo ago also BIT-tensorflow-2022-23592 , EUVD-2022-0285 , GHSA-vq36-27g6-p492 , PYSEC-2022-101 , PYSEC-2022-156 , PYSEC-2026-3249
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
Tensorflow is an Open Source Machine Learning Framework. TensorFlow's type inference can cause a heap out of bounds read as the bounds checking is done in a `DCHECK` (which is a no-op during production). An attacker can control the `input_idx` variable such that `ix` would be larger than the number of values in `node_t.args`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.
Patch / fix
- pypi tensorflow 2.8.0
- pypi tensorflow-cpu 2.8.0
- pypi tensorflow-gpu 2.8.0
- bitnami tensorflow 2.8.0
- google tensorflow 2.8.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:N/A:P |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | tensorflow | >=2.8.0-rc0, <2.8.0 |
2.8.0 |
| pypi | tensorflow-cpu | >=2.8.0-rc0, <2.8.0 >=2.7.0, <2.8.0 |
2.8.0 |
| pypi | tensorflow-gpu | >=2.8.0-rc0, <2.8.0 >=2.7.0, <2.8.0 |
2.8.0 |
| bitnami | tensorflow | >=2.7.0, <2.8.0 |
2.8.0 |
Affected products
- tensorflow tensorflow
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23592
advisory, web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-101.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-156.yaml
web
-
github.com
/tensorflow/tensorflow
web
-
pypi.org
/project/tensorflow
package
-
github.com
/advisories/GHSA-vq36-27g6-p492
advisory
Sources
- CVE List CVE-2022-23592
- GitHub Advisory GHSA-vq36-27g6-p492
- NVD CVE-2022-23592
- OSV BIT-tensorflow-2022-23592
- OSV PYSEC-2022-101
- OSV PYSEC-2022-156
- OSV PYSEC-2026-3249
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.