Medium
Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-29202
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:05 UTC · Revision 1
Source evidence
Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`
core-osv · Original sourcePublished 20 May 2022, 22:55 UTC
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.
osv:CVE-2022-29202
Complete source record
{
"id": "a8b2536f57bf20314d415761942b5323b52dff6767755ce17fc3426625a653de",
"url": "https://osv.dev/vulnerability/CVE-2022-29202",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Denial of service in TensorFlow due to lack of validation in `tf.ragged.constant`",
"summary": "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.",
"evidence": "osv:CVE-2022-29202",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-29202",
"aliases": [
"BIT-tensorflow-2022-29202",
"CVE-2022-29202",
"GHSA-cwpm-f78v-7m5c",
"PYSEC-2026-3163",
"PYSEC-2026-3312",
"PYSEC-2026-983"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/tensorflow/tensorflow",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "33ed2b11cb8e879d86c371700e6573db1814a69e"
},
{
"introduced": "c256c071bb26e1e13b4666d1b3e229e110bc914a"
},
{
"fixed": "dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"
},
{
"introduced": "ce35e5c3a8efdb8161c6a85c8fb9ffb5bbdc9ffd"
},
{
"fixed": "bd4d5583ff9c8df26d47a23e508208844297310e"
},
{
"fixed": "0516d4d8bced506cae97dc3cb45dbd2fe4311f26"
},
{
"fixed": "8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0-rc0"
},
{
"last_affected": "2.7.0-rc0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0-rc1"
},
{
"last_affected": "2.7.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "2.8.0-NA"
},
{
"last_affected": "2.8.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*",
"range": [
{
"introduced": "2.8.0-rc0"
},
{
"last_affected": "2.8.0-rc0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.8.0-rc1"
},
{
"last_affected": "2.8.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9.0-rc0"
},
{
"last_affected": "2.9.0-rc0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.9.0-rc1"
},
{
"last_affected": "2.9.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "bd4d5583ff9c8df26d47a23e508208844297310e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "33ed2b11cb8e879d86c371700e6573db1814a69e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.6.4"
},
{
"range": [
{
"fixed": "dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.7.2"
},
{
"range": [
{
"fixed": "0516d4d8bced506cae97dc3cb45dbd2fe4311f26"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.8.1"
},
{
"range": [
{
"fixed": "8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.9.0"
}
]
}
}
],
"versions": [
"2.7.0-rc0",
"2.7.0-rc1",
"2.8.0-NA",
"2.8.0-rc0",
"2.8.0-rc1",
"2.9.0-rc0",
"2.9.0-rc1",
"v2.9.0-rc2",
"v2.9.0-rc1",
"v2.6.3",
"v2.7.1",
"v2.9.0-rc0",
"v2.8.0",
"v2.8.0-rc1",
"v2.6.2",
"v2.8.0-rc0",
"v2.7.0",
"v2.6.1",
"v2.6.0",
"v2.6.0-rc2",
"v2.6.0-rc1",
"v2.6.0-rc0",
"v1.12.1",
"v1.9.0-rc2",
"v1.6.0-rc1",
"v1.1.0-rc2",
"v1.1.0-rc1",
"0.6.0",
"0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29202.json"
}
}
],
"modified": "2026-10-28T02:30:22.220040521Z",
"provider": "osv",
"references": [
"https://github.com/tensorflow/tensorflow/blob/f3b9bf4c3c0597563b289c0512e98d4ce81f886e/tensorflow/python/ops/ragged/ragged_factory_ops.py#L146-L239",
"https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4",
"https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2",
"https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1",
"https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29202.json",
"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-cwpm-f78v-7m5c",
"https://nvd.nist.gov/vuln/detail/CVE-2022-29202",
"https://github.com/tensorflow/tensorflow/issues/55199",
"https://github.com/tensorflow/tensorflow/commit/bd4d5583ff9c8df26d47a23e508208844297310e"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20",
"CWE-400"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29202.json"
}
},
"related_cves": [
{
"value": "CVE-2022-29202",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488068,
"published_at": "2022-05-20T22:55:13+00:00"
}