Skip to main content
← All vulnerabilities
CVE-2022-23557PYSEC-2026-3188BIT-TENSORFLOW-2022-23557GHSA-GF2J-F278-XH4VPYSEC-2022-121PYSEC-2022-66

Division by zero in TFLite

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.1, 2.6.3, 2.5.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would trigger a division by zero in `BiasAndClamp` implementation. There is no check that the `bias_size` is non zero. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • tensorflow tensorflow

    From 2.7.0 · fixed in 2.7.1; From 2.6.0 · fixed in 2.6.3; fixed in 2.5.3

  • tensorflowPyPI

    fixed in 2.5.3; From 2.6.0 · fixed in 2.6.3; From 2.7.0 · fixed in 2.7.1

  • tensorflow-cpuPyPI

    fixed in 2.5.3; From 2.6.0 · fixed in 2.6.3

  • tensorflowPyPI

    fixed in 2.5.3

  • tensorflowPyPI

    From 2.6.0 · fixed in 2.6.3

  • tensorflowPyPI

    From 2.7.0 · fixed in 2.7.1

  • tensorflow-cpuPyPI

    fixed in 2.5.3

  • tensorflow-cpuPyPI

    From 2.6.0 · fixed in 2.6.3

  • tensorflow-cpuPyPI

    From 2.7.0 · fixed in 2.7.1

  • tensorflow-gpuPyPI

    fixed in 2.5.3

  • tensorflow-gpuPyPI

    From 2.6.0 · fixed in 2.6.3

  • tensorflow-gpuPyPI

    From 2.7.0 · fixed in 2.7.1

  • tensorflow-gpuPyPI

    fixed in 2.5.3; From 2.6.0 · fixed in 2.6.3

References 3

GitHub · tensorflow/tensorflow