PT-2026-59909 · Pypi · Tensorflow-Cpu

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 [mlir::tfg::GraphDefImporter::ConvertNodeDef](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ir/importexport/graphdef import.cc) tries to convert NodeDefs without an op name, it crashes.
cpp
Status GraphDefImporter::ConvertNodeDef(OpBuilder &builder, ConversionState &s,
                    const NodeDef &node) {
 VLOG(4) << "Importing: " << node.name();
 OperationState state(ConvertLocation(node), absl::StrCat("tfg.", node.op()));

 // The GraphImporter does light shape inference, but here we will defer all of
 // that to the shape inference pass.
 const OpDef *op def;
 const OpRegistrationData *op reg data = nullptr;
 if ((op reg data = registry .LookUp(node.op()))) {
  op def = &op reg data->op def;
 } else {
  auto it = function op defs .find(node.op());
  if (it == function op defs .end())
   return InvalidArgument("Unable to find OpDef for ", node.op());
  op def = it->second;
 }
node.op().empty() cannot be empty.

Patches

We have patched the issue in GitHub commit a0f0b9a21c9270930457095092f558fbad4c03e5.
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.

Correção

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

Identificadores relacionados

PYSEC-2026-3295

Produtos afetados

Tensorflow-Cpu