CVE-2022-23592
HIGH 8.1CVSS 3.1Out of bounds read in Tensorflow
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.
- Published
- 4 Feb 2022
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- BIT-tensorflow-2022-23592GHSA-vq36-27g6-p492PYSEC-2022-101PYSEC-2022-156PYSEC-2026-3249
- Sources
- NVDJSONOSV GHSA-vq36-27g6-p492JSONOSV PYSEC-2022-101JSONOSV PYSEC-2022-156JSONOSV PYSEC-2026-3249JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.8.0 | 2.8.0 | |
| OSV | PyPI | tensorflow | >= 2.8.0-rc0, < 2.8.0 | 2.8.0 |
| OSV | PyPI | tensorflow-cpu | >= 2.8.0-rc0, < 2.8.0 | 2.8.0 |
| OSV | PyPI | tensorflow-gpu | >= 2.8.0-rc0, < 2.8.0 | 2.8.0 |
| OSV | PyPI | tensorflow-cpu | >= 2.7.0, < 2.8.0 | 2.8.0 |
| OSV | PyPI | tensorflow-gpu | >= 2.7.0, < 2.8.0 | 2.8.0 |
References
- https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229 · Exploit, Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd · Patch, Third Party Advisory, WEB, FIX
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492 · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-23592 · ADVISORY
- 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2022)