{"id":"CVE-2023-25801","published":"2023-03-24T23:08:50Z","modified":"2025-02-19T20:44:31Z","title":"TensorFlow has double free in Fractional(Max/Avg)Pool","vendor":"tensorflow","product":"tensorflow","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0015,"percentile":0.0426,"provenance":"source"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-f49c-87jh-g47q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307","tags":["x_refsource_MISC"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":0.85},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-19T20:44:21.366840Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-f49c-87jh-g47q","PYSEC-2026-3166"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-f49c-87jh-g47q","PYSEC-2026-3314"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-f49c-87jh-g47q","PYSEC-2026-985"],"provenance":"source"}],"summary":{"text":"The flaw is a double free in TensorFlow's fractional pooling operations, nn_ops.fractional_avg_pool_v2 and nn_ops.fractional_max_pool_v2, within the tensorflow product. An attacker with local access and no privileges can trigger it without any user interaction by supplying a pooling_ratio whose first and fourth elements are not 1.0, which the operations do not validate.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:05Z"},"euvd":{"id":"EUVD-2023-0992","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-29550","parents":[{"from":"CVE-2021-29550","to":"CVE-2023-25801","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/fractional_avg_pool_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/548b5eaf23685d86f722233d8fbc21d0a4aecb96","https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307"],"basis":"shared function","functions":["FractionalAvgPoolOp"]}]},{"from":"CVE-2022-21735","to":"CVE-2023-25801","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/fractional_max_pool_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/ba4e8ac4dc2991e350d5cc407f8598c8d4ee70fb","https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307"],"basis":"shared function","functions":["FractionalMaxPoolOp"]}]},{"from":"CVE-2022-41900","to":"CVE-2023-25801","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/fractional_max_pool_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/216525144ee7c910296f5b05d214ca1327c9ce48","https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307"],"basis":"shared function","functions":["FractionalAvgPoolOp","FractionalMaxPoolOp"]}]}]}}