# CVE-2023-25664: TensorFlow vulnerable to Heap Buffer Overflow in AvgPoolGrad

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2023-03-24T21:58:04.000Z
- Modified: 2026-09-10T03:49:52.782Z
- Also known as: GHSA-6hg6-5c2q-7rcr, BIT-TENSORFLOW-2023-25664, PYSEC-2026-1951, PYSEC-2026-3122
- Weaknesses: CWE-120, CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, there is a heap buffer overflow in TAvgPoolGrad. A fix is included in TensorFlow 2.12.0 and 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
- google tensorflow: before 2.12.0
- tensorflow (Bitnami): before 2.12.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-6hg6-5c2q-7rcr> (fix, patch, web)
- <https://github.com/tensorflow/tensorflow/commit/ddaac2bdd099bec5d7923dea45276a7558217e5b> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25664> (advisory, web)
- <https://github.com/tensorflow/tensorflow> (package)
- <https://pypi.org/project/tensorflow-cpu> (package)
- <https://github.com/advisories/GHSA-6hg6-5c2q-7rcr> (advisory)
- <https://pypi.org/project/tensorflow> (package)

## Sources

- CVE List: [CVE-2023-25664](https://www.cve.org/CVERecord?id=CVE-2023-25664), CVE Terms of Use, modified 2025-02-19
- GitHub Advisory Database: [GHSA-6hg6-5c2q-7rcr](https://github.com/advisories/GHSA-6hg6-5c2q-7rcr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-25664](https://nvd.nist.gov/vuln/detail/CVE-2023-25664), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1951](https://osv.dev/vulnerability/PYSEC-2026-1951), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3122](https://osv.dev/vulnerability/PYSEC-2026-3122), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2023-25664](https://osv.dev/vulnerability/BIT-TENSORFLOW-2023-25664), Apache-2.0, modified 2026-09-08

---

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