{"id":"CVE-2022-36027","summary":"Segfault TFLite converter on per-channel quantized transposed convolutions in TensorFlow","details":"TensorFlow is an open source platform for machine learning. When converting transposed convolutions using per-channel weight quantization the converter segfaults and crashes the Python process. We have patched the issue in GitHub commit aa0b852a4588cea4d36b74feb05d93055540b450. 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-36027","GHSA-79h2-q768-fpxr","PYSEC-2026-3128","PYSEC-2026-3291","PYSEC-2026-965"],"modified":"2026-10-28T10:31:22.056242961Z","published":"2022-09-16T22:50:16Z","related":["openSUSE-SU-2024:12355-1"],"database_specific":{"cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36027.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36027.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-79h2-q768-fpxr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36027"},{"type":"REPORT","url":"https://github.com/tensorflow/tensorflow/issues/53767"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/aa0b852a4588cea4d36b74feb05d93055540b450"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"},{"introduced":"3f878cff5b698b82eea85db2b60d65a2e320850e"},{"fixed":"0516d4d8bced506cae97dc3cb45dbd2fe4311f26"},{"introduced":"8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"},{"fixed":"d8ce9f9c301d021a69953134185ab728c1c248d3"},{"fixed":"aa0b852a4588cea4d36b74feb05d93055540b450"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"2.7.2"}]},{"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"}],"source":"CPE_RANGE"},{"range":[{"fixed":"aa0b852a4588cea4d36b74feb05d93055540b450"}],"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/cve-osv-conversion/osv-output/CVE-2022-36027.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"186897642432537316091974081571097253395","length":1106},"id":"CVE-2022-36027-2a9b4ae7","signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/aa0b852a4588cea4d36b74feb05d93055540b450","target":{"file":"tensorflow/compiler/mlir/lite/quantization/quantization_utils.cc","function":"ResetAxisAndBroadcast"}},{"source":"https://github.com/tensorflow/tensorflow/commit/aa0b852a4588cea4d36b74feb05d93055540b450","target":{"file":"tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc","function":"PrepareTFPass::runOnOperation"},"deprecated":false,"digest":{"function_hash":"185881904451393427367866277621773594702","length":1126},"id":"CVE-2022-36027-48a26e32","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2022-36027-4c862a84","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/aa0b852a4588cea4d36b74feb05d93055540b450","target":{"file":"tensorflow/compiler/mlir/lite/quantization/quantization_utils.cc"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["184790422731472063078313874341187534245","71165984597232383481769095261518053930","70826397806953159771398153869431299558","125791903421604505134816878068841336458","233277162882689829715840744540227242142","14316397477529306917755080303001950045","86130252325441556523876314621939621777","259027717183497512492782943059568314126","194408359620443665250245050792043572070","70446084984852260375292381121030693856","301557763144555892170423237385226338142","272414444310915544284371813207706206961"]}},{"deprecated":false,"digest":{"length":613,"function_hash":"41840483807212166593526629759692990442"},"id":"CVE-2022-36027-989ddde4","signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/aa0b852a4588cea4d36b74feb05d93055540b450","target":{"function":"CastQuantizedTypeAttrFromExpressedType","file":"tensorflow/compiler/mlir/lite/quantization/quantization_utils.cc"}},{"id":"CVE-2022-36027-b871d1d2","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/aa0b852a4588cea4d36b74feb05d93055540b450","target":{"file":"tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc"},"deprecated":false,"digest":{"line_hashes":["279310570741012307904451796219845433446","294259988948690646859705488007614698984","132563626343194789877015941168084679397","188815562146774022372425826023070077518","82607137692344092655903245756588140034","224647938166090782706254019428755447217","60739004809482805693051983541758180901","150682036652201803028919399196313808093"],"threshold":0.9}}],"vanir_signatures_modified":"2026-10-28T10:31:22Z"}}],"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"}]}