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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.11.1, 2.12.0 (CNA); fix release not confirmed
- Status: published
- Published: 2023-03-24 · Modified: 2025-02-19
- Aliases: GHSA-gw97-ff7c-9v96, BIT-tensorflow-2023-25668, PYSEC-2026-548, PYSEC-2026-549, PYSEC-2026-550
- Record: https://cvemate.com/vulnerability/CVE-2023-25668 · JSON: https://cvemate.com/vulnerability/CVE-2023-25668/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.843%, percentile 59.224%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

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

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gw97-ff7c-9v96>
- <https://github.com/tensorflow/tensorflow/commit/7b174a0f2e40ff3f3aa957aecddfd5aaae35eccb>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25668>
- <https://github.com/tensorflow/tensorflow>
- <https://pypi.org/project/tensorflow>
- <https://github.com/advisories/GHSA-gw97-ff7c-9v96>
- <https://pypi.org/project/tensorflow-cpu>
- <https://pypi.org/project/tensorflow-gpu>

---

Data as of 2026-12-05T02:33:42.364Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
