{"schema_version":"1.9.0","id":"CVE-2022-23577","published":"2022-02-04T22:32:31Z","modified":"2026-08-12T13:00:22.461790Z","aliases":["BIT-tensorflow-2022-23577","GHSA-8cxv-76p7-jxwr","PYSEC-2022-141","PYSEC-2022-86","PYSEC-2026-3135"],"related":["openSUSE-SU-2024:12116-1"],"summary":"Null-dereference in Tensorflow","details":"Tensorflow is an Open Source Machine Learning Framework. The implementation of `GetInitOp` is vulnerable to a crash caused by dereferencing a null pointer. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"last_affected":"957590ea15cc03ee2e00fc61934647d54836676f"},{"introduced":"919f693420e35d00c8d0a42100837ae3718f7927"},{"last_affected":"c2363d6d025981c661f8cbecf4c73ca7fbf38caf"},{"introduced":"c256c071bb26e1e13b4666d1b3e229e110bc914a"},{"fixed":"4f38b1ac8e42727e18a2f0bde06d3bee8e77b250"}],"database_specific":{"cpe":["cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"last_affected":"2.5.2"},{"introduced":"2.6.0"},{"last_affected":"2.6.2"},{"introduced":"2.7.0"},{"last_affected":"2.7.0"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["2.7.0","v2.5.2","v2.6.2","v2.6.1","v2.6.0","v2.5.1","v2.5.0","v2.5.0-rc3","v2.5.0-rc2","v2.5.0-rc1","v2.5.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-23577.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["19274502061701587581052645469503242845","90978372360234550631611578511302017629","34877093218406427310302652576950685653","186294449925519280170848524884573456506","98445338150164267485945979139634798744","296658408426906723798297652906260836160"],"threshold":0.9},"id":"CVE-2022-23577-0028b7ea","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250","target":{"file":"tensorflow/cc/saved_model/loader_util.cc"}},{"deprecated":false,"digest":{"function_hash":"172339186409680260093937717818425219470","length":898},"id":"CVE-2022-23577-9323c943","signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250","target":{"file":"tensorflow/cc/saved_model/loader_util.cc","function":"GetInitOp"}}],"vanir_signatures_modified":"2026-08-12T13:00:22Z"}}],"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/cc/saved_model/loader_util.cc#L31-L61"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23577.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-8cxv-76p7-jxwr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23577"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/4f38b1ac8e42727e18a2f0bde06d3bee8e77b250"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23577.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}