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.SparseTensorDenseAdd does not fully validate the input arguments. In this case, a reference gets bound to a nullptr during kernel execution. This is undefined behavior. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-20",
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29206.json"
}{
"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": "11ced8467eccad9c7cb94867708be8fa5c66c730"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.6.4",
"range": [
{
"fixed": "33ed2b11cb8e879d86c371700e6573db1814a69e"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v2.7.2",
"range": [
{
"fixed": "dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v2.8.1",
"range": [
{
"fixed": "0516d4d8bced506cae97dc3cb45dbd2fe4311f26"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v2.9.0",
"range": [
{
"fixed": "8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-29206.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"221493233268286537659827014320394668101",
"82207426128829260309612597979246158047",
"5277208957558550673337177709160487983",
"151958456065648892737008559890577651035",
"211311739560596991482515868738725512339",
"219438528273262363439709378717835207052",
"185504399491295674597981208618368545979",
"175918897646274861063135720410660987565",
"63726725965755184658985833465422142945",
"261259081224229000059884329424767238589"
],
"threshold": 0.9
},
"id": "CVE-2022-29206-1555f923",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730",
"target": {
"file": "tensorflow/core/kernels/sparse_tensor_dense_add_op.cc"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "192647852517683153220242599385909362107",
"length": 1253
},
"id": "CVE-2022-29206-c01e98b0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/tensorflow/tensorflow/commit/11ced8467eccad9c7cb94867708be8fa5c66c730",
"target": {
"file": "tensorflow/core/kernels/sparse_tensor_dense_add_op.cc",
"function": "ValidateInputs"
}
}
]
"2026-10-22T15:52:24Z"