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.StagePeek does not fully validate the input arguments. This results in a CHECK-failure which can be used to trigger a denial of service attack. The code assumes index is a scalar but there is no validation for this before accessing its value. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29195.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-20"
]
}{
"cpe": [
"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*",
"cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*",
"cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*",
"cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*",
"cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*",
"cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.6.4"
},
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.2"
},
{
"introduced": "2.7.0-rc0"
},
{
"last_affected": "2.7.0-rc0"
},
{
"introduced": "2.7.0-rc1"
},
{
"last_affected": "2.7.0-rc1"
},
{
"introduced": "2.8.0-NA"
},
{
"last_affected": "2.8.0-NA"
},
{
"introduced": "2.8.0-rc0"
},
{
"last_affected": "2.8.0-rc0"
},
{
"introduced": "2.8.0-rc1"
},
{
"last_affected": "2.8.0-rc1"
},
{
"introduced": "2.9.0-rc0"
},
{
"last_affected": "2.9.0-rc0"
},
{
"introduced": "2.9.0-rc1"
},
{
"last_affected": "2.9.0-rc1"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING",
"REFERENCES"
]
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"173020298800718780027631899521333973300",
"180396381055118800820626725984631179586",
"184476826111046253055961214969981398992"
]
},
"target": {
"file": "tensorflow/core/kernels/stage_op.cc"
},
"id": "CVE-2022-29195-2c741d11",
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/tensorflow/tensorflow/commit/cebe3c45d76357d201c65bdbbf0dbe6e8a63bbdb",
"deprecated": false
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29195.json"
"2026-07-09T06:34:55Z"