PT-2026-59783 · Pypi · Tensorflow

Published

2026-07-13

·

Updated

2026-07-13

CVSS v3.1

8.0

High

VectorAV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H

Impact

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.
python
import tensorflow as tf
import os
import numpy as np
from tensorflow.python.ops import nn ops
try:
 arg 0 tensor = tf.random.uniform([3, 30, 50, 3], dtype=tf.float64)
 arg 0 = tf.identity(arg 0 tensor)
 arg 1 0 = 2
 arg 1 1 = 3
 arg 1 2 = 1
 arg 1 3 = 1
 arg 1 = [arg 1 0,arg 1 1,arg 1 2,arg 1 3,]
 arg 2 = True
 arg 3 = True
 seed = 341261001
 out = nn ops.fractional avg pool v2(arg 0,arg 1,arg 2,arg 3,seed=seed,)
except Exception as e:
 print("Error:"+str(e))

Patches

We have patched the issue in GitHub commit ee50d1e00f81f62a4517453f721c634bbb478307.
The fix will be included in TensorFlow 2.12. We will also cherrypick this commit on TensorFlow 2.11.1.

For more information

Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

Attribution

This vulnerability was reported by dmc1778, of nimashiri2012@gmail.com.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

PYSEC-2026-3166

Affected Products

Tensorflow