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.
| Package | Affected versions | Patched versions |
|---|---|---|
tensorflowPyPI | < 2.11.1 | 2.11.1 |
tensorflow-cpuPyPI | < 2.11.1 | 2.11.1 |
tensorflow-gpuPyPI | < 2.11.1 | 2.11.1 |
Affected products
1- Range: < 2.11.1
Patches
134f8368c5352Check filter_input_channel > 0 in conv kernel.
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- github.com/advisories/GHSA-5w96-866f-6rm8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-27579ghsaADVISORY
- github.com/tensorflow/tensorflow/commit/34f8368c535253f5c9cb3a303297743b62442aaaghsax_refsource_MISCWEB
- github.com/tensorflow/tensorflow/security/advisories/GHSA-5w96-866f-6rm8ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.