# CVE-2023-25668: TensorFlow vulnerable to heap out-of-buffer read in the QuantizeAndDequantize operation

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.84%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-24T21:57:01.000Z
- Modified: 2026-09-08T08:48:20.765Z
- Also known as: GHSA-gw97-ff7c-9v96, BIT-TENSORFLOW-2023-25668, PYSEC-2026-548, PYSEC-2026-549, PYSEC-2026-550
- Weaknesses: CWE-122, CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: < 2.11.1
- tensorflow (PyPI): before 2.11.1
- tensorflow-cpu (PyPI): before 2.11.1
- tensorflow-gpu (PyPI): before 2.11.1
- google tensorflow: before 2.12.0
- tensorflow (Bitnami): before 2.12.0

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/tensorflow/tensorflow/commit/7b174a0f2e40ff3f3aa957aecddfd5aaae35eccb> (exploit, fix, patch, web)
- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gw97-ff7c-9v96> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25668> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2023-25668](https://www.cve.org/CVERecord?id=CVE-2023-25668), CVE Terms of Use, modified 2025-02-19
- GitHub Advisory Database: [GHSA-gw97-ff7c-9v96](https://github.com/advisories/GHSA-gw97-ff7c-9v96), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2023-25668](https://nvd.nist.gov/vuln/detail/CVE-2023-25668), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-548](https://osv.dev/vulnerability/PYSEC-2026-548), CC-BY-4.0, modified 2026-07-01
- PyPA Advisory Database: [PYSEC-2026-549](https://osv.dev/vulnerability/PYSEC-2026-549), CC-BY-4.0, modified 2026-07-01
- PyPA Advisory Database: [PYSEC-2026-550](https://osv.dev/vulnerability/PYSEC-2026-550), CC-BY-4.0, modified 2026-07-01
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2023-25668](https://osv.dev/vulnerability/BIT-TENSORFLOW-2023-25668), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-25668 · Whole record: https://cve.day/CVE-2023-25668.json · Rebuilt by cve.day 2026-11-25T22:58:22.677Z
