CVE-2022-29213
JSON

5.5medium

Incomplete validation in signal ops leads to crashes in TensorFlow

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5889-7v45-q28mBIT-TENSORFLOW-2022-29213PYSEC-2026-3107PYSEC-2026-3277PYSEC-2026-952

Description

TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the `tf.compat.v1.signal.rfft2d` and `tf.compat.v1.signal.rfft3d` lack input validation and under certain condition can result in crashes (due to `CHECK`-failures). Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

Affected

Product or packageVersionsReported by
tensorflow tensorflow< 2.6.4, >= 2.7.0rc0, < 2.7.2, >= 2.8.0rc0, < 2.8.1, >= 2.9.0rc0, < 2.9.0CVE List
tensorflow (PyPI)before 2.6.4, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1GitHub Advisory Database, PyPA Advisory Database
tensorflow-cpu (PyPI)before 2.6.4, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1GitHub Advisory Database, PyPA Advisory Database
tensorflow-gpu (PyPI)before 2.6.4, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1GitHub Advisory Database, PyPA Advisory Database
google tensorflowbefore 2.6.4, from 2.7.0 before 2.7.2, 2.7.0, 2.8.0, 2.9.0NVD
tensorflow (Bitnami)before 2.6.4, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1Bitnami Vulnerability Database

All scores

GitHub_M5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:N/I:N/A:P
PyPA Advisory Database5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-20CWE-617

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the `tf.compat.v1.signal.rfft2d` and `tf.compat.v1.signal.rfft3d` lack input validation and under certain condition can result in crashes (due to `CHECK`-failures). Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

GitHub Advisory Database
Impact

The tf.compat.v1.signal.rfft2d and tf.compat.v1.signal.rfft3d lack input validation and under certain condition can result in crashes (due to CHECK-failures).

Patches

We have patched the issue in GitHub commit 0a8a781e597b18ead006d19b7d23d0a369e9ad73 (merging GitHub PR #55274).

The fix will be included in TensorFlow 2.9.0. We will also cherrypick this commit on TensorFlow 2.8.1, TensorFlow 2.7.2, and TensorFlow 2.6.4, 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.

Attribution

This vulnerability has been reported externally via a GitHub issue.

NVD (es)

TensorFlow es una plataforma de código abierto para el aprendizaje automático. En versiones anteriores a 2.9.0, 2.8.1, 2.7.2 y 2.6.4, "tf.compat.v1.signal.rfft2d" y "tf.compat.v1.signal.rfft3d" carecen de comprobación de entrada y, bajo determinadas condiciones, pueden provocar bloqueos (debido a fallos de "CHECK"). Las versiones 2.9.0, 2.8.1, 2.7.2 y 2.6.4 contienen un parche para este problema

References

https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4advisory, release-notes, third-party-advisory, web
https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2advisory, release-notes, third-party-advisory, web
https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1advisory, release-notes, third-party-advisory, web
https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0advisory, release-notes, third-party-advisory, web
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-5889-7v45-q28madvisory, exploit, patch, third-party-advisory, web
https://github.com/tensorflow/tensorflow/issues/55263advisory, exploit, issue-tracking, third-party-advisory, web
https://github.com/tensorflow/tensorflow/pull/55274advisory, issue-tracking, patch, third-party-advisory, web
https://github.com/tensorflow/tensorflow/commit/0a8a781e597b18ead006d19b7d23d0a369e9ad73advisory, patch, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2022-29213advisory, web
https://github.com/tensorflow/tensorflowpackage
https://pypi.org/project/tensorflowpackage
https://github.com/advisories/GHSA-5889-7v45-q28madvisory

Sources

SourceRecordLicence
CVE ListCVE-2022-29213 changed 2025-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-5889-7v45-q28m changed 2026-07-13CC-BY-4.0
NVDCVE-2022-29213 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-3107 changed 2026-07-13CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-3277 changed 2026-07-13CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-952 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-TENSORFLOW-2022-29213 changed 2026-09-08Apache-2.0