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.
{
"cwe_ids": [
"CWE-415"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25801.json",
"cna_assigner": "GitHub_M"
}{
"cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.12.0"
}
]
}"2026-07-21T23:25:24Z"
[
{
"signature_type": "Line",
"target": {
"file": "tensorflow/core/kernels/fractional_max_pool_op.cc"
},
"deprecated": false,
"source": "https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307",
"id": "CVE-2023-25801-2caca80f",
"signature_version": "v1",
"digest": {
"line_hashes": [
"34546913169249889525886542189940177315",
"310058432396153943507607782147984202057",
"28330422912176358397732124755806312902",
"165140376298228359518267396930023748282"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"target": {
"file": "tensorflow/core/kernels/fractional_avg_pool_op.cc"
},
"deprecated": false,
"source": "https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307",
"id": "CVE-2023-25801-8bafb306",
"signature_version": "v1",
"digest": {
"line_hashes": [
"34546913169249889525886542189940177315",
"59923946579509533237764873892347732726",
"309690233085764761772992873851803466967",
"3373865295338081207686420620641604317"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25801.json"