{"id":"CVE-2022-41909","summary":"Segfault in `CompositeTensorVariantToComponents` in Tensorflow","details":"TensorFlow is an open source platform for machine learning. An input `encoded` that is not a valid `CompositeTensorVariant` tensor will trigger a segfault in `tf.raw_ops.CompositeTensorVariantToComponents`. We have patched the issue in GitHub commits bf594d08d377dc6a3354d9fdb494b32d45f91971 and 660ce5a89eb6766834bdc303d2ab3902aef99d3d. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.","aliases":["BIT-tensorflow-2022-41909","GHSA-rjx6-v474-2ch9","PYSEC-2026-1034","PYSEC-2026-3238","PYSEC-2026-3368"],"modified":"2026-08-12T13:33:24.861940Z","published":"2022-11-18T00:00:00Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41909.json"},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/lib/core/py_func.cc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41909.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rjx6-v474-2ch9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41909"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/660ce5a89eb6766834bdc303d2ab3902aef99d3d"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/bf594d08d377dc6a3354d9fdb494b32d45f91971"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"1b8f5c396f0c016ebe81fe1af029e6f205c926a4"},{"introduced":"8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"},{"fixed":"a5ed5f39b675a1c6f315e0caf3ad4b38478fa571"},{"introduced":"359c3cdfc5fabac82b3c70b3b6de2b0a8c16874f"},{"fixed":"660ce5a89eb6766834bdc303d2ab3902aef99d3d"},{"fixed":"bf594d08d377dc6a3354d9fdb494b32d45f91971"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.8.4"},{"introduced":"2.9.0"},{"fixed":"2.9.3"},{"introduced":"2.10.0"},{"last_affected":"2.10.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","cpe:2.3:a:google:tensorflow:2.10.0:*:*:*:*:*:*:*"]}}],"versions":["2.10.0","v2.8.3","v2.9.2","v2.8.2","v2.9.1","v2.8.1","v2.9.0","v2.8.0","v2.8.0-rc1","v2.8.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-41909.json","vanir_signatures_modified":"2026-08-12T13:33:24Z","vanir_signatures":[{"id":"CVE-2022-41909-16365b36","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/bf594d08d377dc6a3354d9fdb494b32d45f91971","target":{"file":"tensorflow/core/kernels/composite_tensor_ops.cc"},"deprecated":false,"digest":{"line_hashes":["165770501341460279031578388587898026329","145149148765935882043817818096278576760","178528364900485607781197300121878461718","335186909308931260271975314050357813540"],"threshold":0.9}},{"signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/660ce5a89eb6766834bdc303d2ab3902aef99d3d","target":{"file":"tensorflow/core/kernels/composite_tensor_ops.cc"},"deprecated":false,"digest":{"line_hashes":["26625331665592832906876753332035448521","257979782458148215783093773655569126897","331535248958632063021464938049683589012","330026642530310736372462239743570941668","203722320412041782870739001651512061145","30708594792026587589812406926338750283"],"threshold":0.9},"id":"CVE-2022-41909-efb29b3a","signature_type":"Line"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H"}]}