Skip to content
OpenAdvisories
High · 8.0 CVE-2023-25801 BIT-tensorflow-2023-25801EUVD-2023-0992GHSA-f49c-87jh-g47qPYSEC-2026-3166PYSEC-2026-3314PYSEC-2026-985

TensorFlow has double free in Fractional(Max/Avg)Pool

Published Mar 24, 2023 · Updated Feb 19, 2025 · 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.

Affected products

VendorProductAffectedFixed
tensorflow tensorflow < 2.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 tensorflow 2.11.1-1 —
Azure Linux 2 (CBL-Mariner) tensorflow 2.11.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tensorflow < 2.11.1 2.11.1 GHSA-f49c-87jh-g47q
PyPI tensorflow-cpu < 2.11.1 2.11.1 GHSA-f49c-87jh-g47q
PyPI tensorflow-gpu < 2.11.1 2.11.1 GHSA-f49c-87jh-g47q

References