{"id":"CVE-2022-29203","aliases":["BIT-tensorflow-2022-29203","GHSA-jjm6-4vf7-cjh4","PYSEC-2026-1012","PYSEC-2026-3207","PYSEC-2026-3344"],"url":"https://o3.security/vulnerability/CVE-2022-29203","summary":"Integer overflow in `SpaceToBatchND` in TensorFlow","details":"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 implementation of `tf.raw_ops.SpaceToBatchND` (in all backends such as XLA and handwritten kernels) is vulnerable to an integer overflow: The result of this integer overflow is used to allocate the output tensor, hence we get a denial of service via a `CHECK`-failure (assertion failure), as in TFSA-2021-198. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.","published":"2022-05-20T22:50:11Z","modified":"2026-08-08T03:47:27.888529930Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.6.4"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.7.2"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.8.1"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.6.4"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.7.2"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.8.1"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.6.4"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.7.2"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.8.1"}],"fix":{"url":"https://github.com/tensorflow/tensorflow/commit/acd56b8bcb72b163c834ae4f18469047b001fadf","label":"tensorflow/tensorflow@acd56b8"},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4"},{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2"},{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1"},{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29203.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2021-198.md"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jjm6-4vf7-cjh4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29203"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/acd56b8bcb72b163c834ae4f18469047b001fadf"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:47:27.888529930Z"}}