# CVE-2023-25801: TensorFlow has double free in Fractional(Max/Avg)Pool

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2023-03-24T21:53:49.000Z
- Modified: 2026-09-08T08:48:20.727Z
- Also known as: GHSA-f49c-87jh-g47q, BIT-TENSORFLOW-2023-25801, PYSEC-2026-3166, PYSEC-2026-3314, PYSEC-2026-985
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

TensorFlow is an open source machine learning platform. Prior to versions 2.12.0 and 2.11.1, `nn_ops.fractional_avg_pool_v2` and `nn_ops.fractional_max_pool_v2` require the first and fourth elements of their parameter `pooling_ratio` to be equal to 1.0, as pooling on batch and channel dimensions is not supported. 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
- 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 8.0 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.0 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-f49c-87jh-g47q> (advisory, patch, vendor-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25801> (advisory, web)
- <https://github.com/tensorflow/tensorflow> (package)
- <https://pypi.org/project/tensorflow> (package)
- <https://github.com/advisories/GHSA-f49c-87jh-g47q> (advisory)
- <https://pypi.org/project/tensorflow-cpu> (package)
- <https://pypi.org/project/tensorflow-gpu> (package)

## Sources

- CVE List: [CVE-2023-25801](https://www.cve.org/CVERecord?id=CVE-2023-25801), CVE Terms of Use, modified 2025-02-19
- GitHub Advisory Database: [GHSA-f49c-87jh-g47q](https://github.com/advisories/GHSA-f49c-87jh-g47q), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2023-25801](https://nvd.nist.gov/vuln/detail/CVE-2023-25801), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-3166](https://osv.dev/vulnerability/PYSEC-2026-3166), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3314](https://osv.dev/vulnerability/PYSEC-2026-3314), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-985](https://osv.dev/vulnerability/PYSEC-2026-985), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2023-25801](https://osv.dev/vulnerability/BIT-TENSORFLOW-2023-25801), Apache-2.0, modified 2026-09-08

---

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