ADVISORIES

Vulnerability

CVE-2022-21732

Tensorflow is an Open Source Machine Learning Framework. The implementation of `ThreadPoolHandle` can be used to trigger a denial of service attack by allocating too much memory. This is because the `num_threads` argument is only checked to not be negative, but there is no upper bound on its value. 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.

4 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 4

Advisories in PyPI

  • GHSA-c582-c96p-r5cq

    Memory exhaustion in Tensorflow

    Moderate CVE-2022-21732 PyPI Updated 10 September 2026
  • PYSEC-2022-111

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `ThreadPoolHandle` can be used to trigger a denial of service attack by allocating too much memory. This is because the `num_threads`…

    CVE-2022-21732 PyPI Updated 13 July 2026
  • PYSEC-2022-56

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `ThreadPoolHandle` can be used to trigger a denial of service attack by allocating too much memory. This is because the `num_threads`…

    CVE-2022-21732 PyPI Updated 13 July 2026
  • PYSEC-2026-3158

    Memory exhaustion in Tensorflow

    CVE-2022-21732 PyPI Updated 13 July 2026

References