{"id":"CVE-2022-29202","aliases":["BIT-tensorflow-2022-29202","GHSA-cwpm-f78v-7m5c","PYSEC-2026-3163","PYSEC-2026-3312","PYSEC-2026-983"],"url":"https://o3.security/vulnerability/CVE-2022-29202","summary":"Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`","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.ragged.constant` does not fully validate the input arguments. This results in a denial of service by consuming all available memory. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.","published":"2022-05-20T22:55:13Z","modified":"2026-08-12T03:51:32.953509190Z","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/bd4d5583ff9c8df26d47a23e508208844297310e","label":"tensorflow/tensorflow@bd4d558"},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/python/ops/ragged/ragged_factory_ops.py#L146-L239"},{"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-29202.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-cwpm-f78v-7m5c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29202"},{"type":"REPORT","url":"https://github.com/tensorflow/tensorflow/issues/55199"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/bd4d5583ff9c8df26d47a23e508208844297310e"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:32.953509190Z"}}