CVE-2023-25668
CRITICAL 9.8CVSS 3.1TensorFlow has a heap out-of-buffer read vulnerability in the QuantizeAndDequantize operation
TensorFlow is an open source platform for machine learning. Attackers using Tensorflow prior to 2.12.0 or 2.11.1 can access heap memory which is not in the control of user, leading to a crash or remote code execution. The fix will be included in TensorFlow version 2.12.0 and will also cherrypick this commit on TensorFlow version 2.11.1.
- Published
- 25 Mar 2023
- Last modified
- 1 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-122CWE-125
- Also known as
- BIT-tensorflow-2023-25668GHSA-gw97-ff7c-9v96PYSEC-2026-548PYSEC-2026-549PYSEC-2026-550
- Sources
- NVDJSONOSV GHSA-gw97-ff7c-9v96JSONOSV PYSEC-2026-548JSONOSV PYSEC-2026-549JSONOSV PYSEC-2026-550JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* |
< 2.12.0 | 2.12.0 | |
| OSV | PyPI | tensorflow | < 2.11.1 | 2.11.1 |
| OSV | PyPI | tensorflow-cpu | < 2.11.1 | 2.11.1 |
| OSV | PyPI | tensorflow-gpu | < 2.11.1 | 2.11.1 |
References
- https://github.com/tensorflow/tensorflow/commit/7b174a0f2e40ff3f3aa957aecddfd5aaae35eccb · Exploit, Patch, WEB
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gw97-ff7c-9v96 · Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-25668 · ADVISORY
- https://github.com/tensorflow/tensorflow · PACKAGE
- https://pypi.org/project/tensorflow · PACKAGE
- https://github.com/advisories/GHSA-gw97-ff7c-9v96 · ADVISORY
- https://pypi.org/project/tensorflow-cpu · PACKAGE
- https://pypi.org/project/tensorflow-gpu · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Mar 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Mar 2023)