{"id":"CVE-2022-23595","summary":"Null pointer dereference in TensorFlow","details":"Tensorflow is an Open Source Machine Learning Framework. When building an XLA compilation cache, if default settings are used, TensorFlow triggers a null pointer dereference. In the default scenario, all devices are allowed, so `flr-\u003econfig_proto` is `nullptr`. 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.","aliases":["BIT-tensorflow-2022-23595","GHSA-fpcp-9h7m-ffpx","PYSEC-2022-103","PYSEC-2022-158","PYSEC-2026-3173"],"modified":"2026-10-28T10:25:26.614980459Z","published":"2022-02-04T22:32:13Z","related":["openSUSE-SU-2024:12116-1"],"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-23595.json"},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/compiler/jit/xla_platform_info.cc#L43-L104"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23595.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-fpcp-9h7m-ffpx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23595"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/e21af685e1828f7ca65038307df5cc06de4479e8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"last_affected":"957590ea15cc03ee2e00fc61934647d54836676f"},{"introduced":"919f693420e35d00c8d0a42100837ae3718f7927"},{"last_affected":"c2363d6d025981c661f8cbecf4c73ca7fbf38caf"},{"introduced":"c256c071bb26e1e13b4666d1b3e229e110bc914a"},{"fixed":"e21af685e1828f7ca65038307df5cc06de4479e8"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"last_affected":"2.5.2"}]},{"cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","range":[{"introduced":"2.6.0"},{"last_affected":"2.6.2"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:*","range":[{"introduced":"2.7.0"},{"last_affected":"2.7.0"}],"source":"CPE_STRING"},{"range":[{"fixed":"e21af685e1828f7ca65038307df5cc06de4479e8"}],"source":"REFERENCES_COMMIT"}]}}],"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":{"vanir_signatures":[{"signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/e21af685e1828f7ca65038307df5cc06de4479e8","target":{"file":"tensorflow/compiler/jit/xla_platform_info.cc"},"deprecated":false,"digest":{"line_hashes":["58951635481754048800582186126291020244","320108324755515460418980460359780697739","224436189382491213739471191764088560887","900545950809560472443914805410441544","155808045133127441891959231418977861791","49116263577245994396334782924361562309","303171231252073729408959228444392970331","277876290997183958856801941651795372292"],"threshold":0.9},"id":"CVE-2022-23595-47e45f5f","signature_type":"Line"},{"signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/e21af685e1828f7ca65038307df5cc06de4479e8","target":{"file":"tensorflow/compiler/jit/xla_platform_info.cc","function":"BuildXlaCompilationCache"},"deprecated":false,"digest":{"length":1653,"function_hash":"126902769321471080327106312240877692718"},"id":"CVE-2022-23595-c80f4a96","signature_type":"Function"}],"vanir_signatures_modified":"2026-10-28T10:25:26Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23595.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}