{"id":"CVE-2022-36012","summary":"Assertion fail on MLIR empty edge names in TensorFlow","details":"TensorFlow is an open source platform for machine learning. When `mlir::tfg::ConvertGenericFunctionToFunctionDef` is given empty function attributes, it crashes. We have patched the issue in GitHub commit ad069af92392efee1418c48ff561fd3070a03d7b. 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-36012","GHSA-jvhc-5hhr-w3v5","PYSEC-2026-1015","PYSEC-2026-3210","PYSEC-2026-3347"],"modified":"2026-08-12T13:32:07.808717Z","published":"2022-09-16T22:55:15Z","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-36012.json"},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ir/importexport/functiondef_import.cc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36012.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jvhc-5hhr-w3v5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36012"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/ad069af92392efee1418c48ff561fd3070a03d7b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"},{"introduced":"3f878cff5b698b82eea85db2b60d65a2e320850e"},{"fixed":"0516d4d8bced506cae97dc3cb45dbd2fe4311f26"},{"introduced":"8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"},{"fixed":"d8ce9f9c301d021a69953134185ab728c1c248d3"},{"fixed":"ad069af92392efee1418c48ff561fd3070a03d7b"}],"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-36012.json","vanir_signatures_modified":"2026-08-12T13:32:07Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["183090555784631064931195738436549262885","68942235289476789456745804631466162628","285200325809687171874501144489536881636","75949114765863734009275662837018964865","210240593280213833836445239715782656170","112461276491220136549571967736706759941","275273939917392133957595185072052306455","113627413534037065022264486107678301343","29662811368796294807053460282376606507","280228811405009356762491180885386463370","101569470358117741917376617708902549704","154842515850841669684858240038980870880","300637791034843021114764919451772239741","8986545717634563506484320266817715732","253831930252385785542973877168445861263","78603584430656758068045028379409176232","284055996186537111143361439131255132571","242271920771413768260919435136815992762","71198732203116713484711003872739620617","338976719169305382634809060234679793732","43547623766136204494537233441481687742","274080858180270166526869145975645446587","145427411806174163472605282787115985774","8985688138822279644455707784668789635","95229530172119106159389029197650335614","39814199698831972979733197401951798477","176031591713073337231306994827655870649","189720363439716911723210570763378976966","71198732203116713484711003872739620617","254888732654041413013566543388627525227","100487766779386418569940651228051462970","133866758874279200306593450229842460281"],"threshold":0.9},"id":"CVE-2022-36012-3b8aaccf","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/ad069af92392efee1418c48ff561fd3070a03d7b","target":{"file":"tensorflow/core/ir/importexport/functiondef_import.cc"}},{"id":"CVE-2022-36012-9e4d2936","signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/ad069af92392efee1418c48ff561fd3070a03d7b","target":{"file":"tensorflow/core/ir/importexport/functiondef_import.cc","function":"ImportNodes"},"deprecated":false,"digest":{"function_hash":"230224031028312680494530487844815267991","length":2101}}]}}],"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"}]}