VYPR
High severityNVD Advisory· Published Mar 24, 2023· Updated Feb 19, 2025

TensorFlow has Floating Point Exception in TFLite in conv kernel

CVE-2023-27579

Description

TensorFlow is an end-to-end open source platform for machine learning. Constructing a tflite model with a paramater filter_input_channel of less than 1 gives a FPE. This issue has been patched in version 2.12. TensorFlow will also cherrypick the fix commit on TensorFlow 2.11.1.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
tensorflowPyPI
< 2.11.12.11.1
tensorflow-cpuPyPI
< 2.11.12.11.1
tensorflow-gpuPyPI
< 2.11.12.11.1

Affected products

1

Patches

1
34f8368c5352

Check filter_input_channel > 0 in conv kernel.

https://github.com/tensorflow/tensorflowHaoliang ZhangJan 19, 2023via ghsa
1 file changed · +1 0
  • tensorflow/lite/kernels/conv.cc+1 0 modified
    @@ -347,6 +347,7 @@ TfLiteStatus Prepare(KernelType kernel_type, TfLiteContext* context,
       // or equals (normal conv).
       auto input_channel = input->dims->data[3];
       auto filter_input_channel = filter->dims->data[3];
    +  TF_LITE_ENSURE(context, filter_input_channel > 0);
       TF_LITE_ENSURE_EQ(context, input_channel % filter_input_channel, 0);
       data->groups = input_channel / filter_input_channel;
     
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

4

News mentions

0

No linked articles in our index yet.