PT-2026-59864 · Pypi · Tensorflow

Publicado

2026-07-09

·

Atualizado

2026-07-09

CVSS v3.1

8.1

Alta

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

Impact

TensorFlow's type inference can cause a heap OOB read as the bounds checking is done in a DCHECK (which is a no-op during production):
cc
if (node t.type id() != TFT UNSET) {
 int ix = input idx[i];
 DCHECK(ix < node t.args size())
   << "input " << i << " should have an output " << ix
   << " but instead only has " << node t.args size()
   << " outputs: " << node t.DebugString();
 input types.emplace back(node t.args(ix));
 // ...
}    
An attacker can control input idx such that ix would be larger than the number of values in node t.args.

Patches

We have patched the issue in GitHub commit c99d98cd189839dcf51aee94e7437b54b31f8abd.
The fix will be included in TensorFlow 2.8.0. This is the only affected version.

For more information

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

Correção

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

Identificadores relacionados

PYSEC-2026-3249

Produtos afetados

Tensorflow