# CVE-2022-23592: Out of bounds read in Tensorflow

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-04T22:32:14.000Z
- Modified: 2026-09-08T08:48:25.352Z
- Also known as: GHSA-vq36-27g6-p492, BIT-TENSORFLOW-2022-23592, PYSEC-2022-101, PYSEC-2022-156, PYSEC-2026-3249
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: = 2.8.0-rc0
- tensorflow (PyPI): from 2.8.0-rc0 before 2.8.0
- tensorflow-cpu (PyPI): from 2.8.0-rc0 before 2.8.0; before c99d98cd189839dcf51aee94e7437b54b31f8abd; from 2.7.0 before 2.8.0
- tensorflow-gpu (PyPI): from 2.8.0-rc0 before 2.8.0; before c99d98cd189839dcf51aee94e7437b54b31f8abd; from 2.7.0 before 2.8.0
- google tensorflow: from 2.7.0 before 2.8.0
- tensorflow (Bitnami): from 2.7.0 before 2.8.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:P`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229> (exploit, advisory, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492> (advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23592> (advisory, web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-101.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-156.yaml> (web)
- <https://github.com/tensorflow/tensorflow> (web)
- <https://pypi.org/project/tensorflow> (package)
- <https://github.com/advisories/GHSA-vq36-27g6-p492> (advisory)

## Sources

- CVE List: [CVE-2022-23592](https://www.cve.org/CVERecord?id=CVE-2022-23592), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-vq36-27g6-p492](https://github.com/advisories/GHSA-vq36-27g6-p492), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2022-23592](https://nvd.nist.gov/vuln/detail/CVE-2022-23592), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-101](https://osv.dev/vulnerability/PYSEC-2022-101), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2022-156](https://osv.dev/vulnerability/PYSEC-2022-156), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3249](https://osv.dev/vulnerability/PYSEC-2026-3249), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2022-23592](https://osv.dev/vulnerability/BIT-TENSORFLOW-2022-23592), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-23592 · Whole record: https://cve.day/CVE-2022-23592.json · Rebuilt by cve.day 2026-11-25T22:58:09.530Z
