{"id":"CVE-2022-36016","summary":"`CHECK`-fail in `tensorflow::full_type::SubstituteFromAttrs` in TensorFlow","details":"TensorFlow is an open source platform for machine learning. When `tensorflow::full_type::SubstituteFromAttrs` receives a `FullTypeDef& t` that is not exactly three args, it triggers a `CHECK`-fail instead of returning a status. We have patched the issue in GitHub commit 6104f0d4091c260ce9352f9155f7e9b725eab012. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.","aliases":["BIT-tensorflow-2022-36016","GHSA-g468-qj8g-vcjc","PYSEC-2026-3184","PYSEC-2026-3327","PYSEC-2026-996"],"modified":"2026-08-12T13:33:03.018328Z","published":"2022-09-16T22:10:36Z","related":["openSUSE-SU-2024:12355-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-617"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36016.json"},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/math_ops.cc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36016.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-g468-qj8g-vcjc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36016"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"},{"introduced":"3f878cff5b698b82eea85db2b60d65a2e320850e"},{"fixed":"0516d4d8bced506cae97dc3cb45dbd2fe4311f26"},{"introduced":"8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"},{"fixed":"d8ce9f9c301d021a69953134185ab728c1c248d3"},{"fixed":"6104f0d4091c260ce9352f9155f7e9b725eab012"}],"database_specific":{"cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.7.2"},{"introduced":"2.8.0"},{"fixed":"2.8.1"},{"introduced":"2.9.0"},{"fixed":"2.9.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.9.0","v2.7.1","v2.8.0","v2.7.0","v2.7.0-rc1","v2.7.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-36016.json","vanir_signatures_modified":"2026-08-12T13:33:03Z","vanir_signatures":[{"digest":{"threshold":0.9,"line_hashes":["320312950641707966689689240335998044619","116759714624426065542068306366360100723","218210032492749209811962752068610874461"]},"id":"CVE-2022-36016-1c5bc074","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012","target":{"file":"tensorflow/core/framework/full_type_util_test.cc"},"deprecated":false},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012","target":{"file":"tensorflow/core/framework/full_type_util.cc","function":"SubstituteForEach"},"deprecated":false,"digest":{"function_hash":"76399875857753286409831299257956088948","length":1578},"id":"CVE-2022-36016-6fd20102"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012","target":{"file":"tensorflow/core/framework/full_type_util.cc"},"deprecated":false,"digest":{"line_hashes":["19358156720308534479122940011388423013","95176404196368422324284269191458457580","111809625754342360715162796337047283212","259785046052205886859793155196983267885"],"threshold":0.9},"id":"CVE-2022-36016-fcdd7e24"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}