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

- Priority: **Routine**
- Reason: Not severe (CVSS 8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-03-24 · Modified: 2025-02-19
- Aliases: GHSA-f49c-87jh-g47q, BIT-tensorflow-2023-25801, PYSEC-2026-3166, PYSEC-2026-3314, PYSEC-2026-985
- Record: https://cvemate.com/vulnerability/CVE-2023-25801 · JSON: https://cvemate.com/vulnerability/CVE-2023-25801/json

## Description

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

## Signals

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

## 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-f49c-87jh-g47q>
- <https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25801>
- <https://github.com/tensorflow/tensorflow>
- <https://pypi.org/project/tensorflow>
- <https://github.com/advisories/GHSA-f49c-87jh-g47q>
- <https://pypi.org/project/tensorflow-cpu>
- <https://pypi.org/project/tensorflow-gpu>

---

Data as of 2026-12-05T02:45:17.328Z. 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
