{"id":"CVE-2023-25801","summary":"TensorFlow has double free in Fractional(Max/Avg)Pool","details":"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.","aliases":["BIT-tensorflow-2023-25801","GHSA-f49c-87jh-g47q","PYSEC-2026-3166","PYSEC-2026-3314","PYSEC-2026-985"],"modified":"2026-08-12T13:33:59.354592Z","published":"2023-03-24T23:08:50.251Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25801.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-415"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25801.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-f49c-87jh-g47q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25801"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"0db597d0d758aba578783b5bf46c889700a45085"},{"fixed":"ee50d1e00f81f62a4517453f721c634bbb478307"}],"database_specific":{"cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.12.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.12.0-rc1","v2.12.0-rc0","v1.12.1","v1.9.0-rc2","v1.6.0-rc1","v1.1.0-rc2","v1.1.0-rc1","0.6.0","0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25801.json","vanir_signatures_modified":"2026-08-12T13:33:59Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307","target":{"file":"tensorflow/core/kernels/fractional_max_pool_op.cc"},"deprecated":false,"digest":{"line_hashes":["34546913169249889525886542189940177315","310058432396153943507607782147984202057","28330422912176358397732124755806312902","165140376298228359518267396930023748282"],"threshold":0.9},"id":"CVE-2023-25801-2caca80f","signature_type":"Line"},{"deprecated":false,"digest":{"line_hashes":["34546913169249889525886542189940177315","59923946579509533237764873892347732726","309690233085764761772992873851803466967","3373865295338081207686420620641604317"],"threshold":0.9},"id":"CVE-2023-25801-8bafb306","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307","target":{"file":"tensorflow/core/kernels/fractional_avg_pool_op.cc"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H"}]}