{"id":"CVE-2022-36000","summary":"Null dereference on MLIR on empty function attributes in TensorFlow","details":"TensorFlow is an open source platform for machine learning. When `mlir::tfg::ConvertGenericFunctionToFunctionDef` is given empty function attributes, it gives a null dereference. We have patched the issue in GitHub commit aed36912609fc07229b4d0a7b44f3f48efc00fd0. 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-36000","GHSA-fqxc-pvf8-2w9v","PYSEC-2026-3177","PYSEC-2026-3322","PYSEC-2026-991"],"modified":"2026-10-22T15:52:01.941545927Z","published":"2022-09-16T22:30:25Z","related":["openSUSE-SU-2024:12355-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36000.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36000.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-fqxc-pvf8-2w9v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36000"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/aed36912609fc07229b4d0a7b44f3f48efc00fd0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"},{"introduced":"3f878cff5b698b82eea85db2b60d65a2e320850e"},{"fixed":"0516d4d8bced506cae97dc3cb45dbd2fe4311f26"},{"introduced":"8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"},{"fixed":"d8ce9f9c301d021a69953134185ab728c1c248d3"},{"fixed":"aed36912609fc07229b4d0a7b44f3f48efc00fd0"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.7.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","range":[{"introduced":"2.8.0"},{"fixed":"2.8.1"}]},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","range":[{"introduced":"2.9.0"},{"fixed":"2.9.1"}]},{"range":[{"fixed":"aed36912609fc07229b4d0a7b44f3f48efc00fd0"}],"source":"REFERENCES_COMMIT"}]}}],"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/osv-test-cve-osv-conversion/osv-output/CVE-2022-36000.json","vanir_signatures":[{"source":"https://github.com/tensorflow/tensorflow/commit/aed36912609fc07229b4d0a7b44f3f48efc00fd0","target":{"file":"tensorflow/core/kernels/linalg/linalg_ops_common.cc","function":"PrepareOutputs"},"deprecated":false,"digest":{"length":1207,"function_hash":"198078649032222143952726275326683446163"},"id":"CVE-2022-36000-4ba08485","signature_type":"Function","signature_version":"v1"},{"source":"https://github.com/tensorflow/tensorflow/commit/aed36912609fc07229b4d0a7b44f3f48efc00fd0","target":{"file":"tensorflow/core/kernels/linalg/linalg_ops_common.cc"},"deprecated":false,"digest":{"line_hashes":["68747300799348149860905040658153026905","295626492960839732451351474555808675192","280173874618468227102368305046952897918","127249155618664336020782457837671846028","234798400923479342988491068112511968564","251826906237709518256372073383332548595","17603659049803813331770383835868805245","187740527632486102202395268107413092552","50993267194023962729793162827818529703","90676838097599065953866578845725440423","267213884876049496740645257290988144524","205770805695816601339008787591235864843","268594814043762954736630022622103390103","246470324633985223307091582949272438927"],"threshold":0.9},"id":"CVE-2022-36000-a21ca46f","signature_type":"Line","signature_version":"v1"},{"digest":{"length":1100,"function_hash":"296146878169675976945096415498957366136"},"id":"CVE-2022-36000-e06f120f","signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/aed36912609fc07229b4d0a7b44f3f48efc00fd0","target":{"function":"AnalyzeInputs","file":"tensorflow/core/kernels/linalg/linalg_ops_common.cc"},"deprecated":false}],"vanir_signatures_modified":"2026-10-22T15:52:01Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}