{"id":"CVE-2023-25665","summary":"TensorFlow has Null Pointer Error in SparseSparseMaximum","details":"TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when `SparseSparseMaximum` is given invalid sparse tensors as inputs, it can give a null pointer error. A fix is included in TensorFlow version 2.12 and version 2.11.1.","aliases":["BIT-tensorflow-2023-25665","GHSA-558h-mq8x-7q9g","PYSEC-2026-1956","PYSEC-2026-3106","PYSEC-2026-3276"],"modified":"2026-08-12T13:32:27.630728Z","published":"2023-03-24T23:39:26.921Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25665.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25665.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-558h-mq8x-7q9g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25665"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"0db597d0d758aba578783b5bf46c889700a45085"},{"fixed":"5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04"}],"database_specific":{"cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.12.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.12.0-rc1","v2.12.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_modified":"2026-08-12T13:32:27Z","vanir_signatures":[{"source":"https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04","target":{"file":"tensorflow/core/kernels/sparse_sparse_binary_op_shared.cc"},"deprecated":false,"digest":{"line_hashes":["38133860678293179188252959720173457738","146164402298050087754815096355019317985","22500128551865475337658707245488187652","188765908042711152019655384631056892790","97422283004671296931450113661066026953","146743703962907212071126733648023195938","243531195569577450425917333736076456029","98939148680483922997302610782895584655","45906285606850380378279589465278154300","63514209486468303389378719493326424187","330804238445158662267926358825107968837","333889107636646470628136690310256282859","253381648154036440552448289231010334442","79705889453315190280266342389400012477","136329021181616223594149852194822028069","243179620768391153143891714083123681024","297844257835496412264648160633263811437","334509028354355180803467078061708719220","132874216986204498608341047060316875306","78812731759905510231426805275489075594","263278567163814111469101893156900025870","15331620997475353311356442777992639996","216732216939522130010745836451304341283","189301101774575567223922105626941181909","250541524987824948832666348632940633316","148171415787202222350941025125711285877","206900979195458452549662431105941246491","286896544293761822165985282600724773124","184821098945041877279360202752934432733","222436869875137179703706229255984729748","79078890079061120604600131363459016910","135359007105100172844036474933611069430","205128831647218375174309293828958021706","196452648921032433746006238130757813268","182117617190131900941305643511148016379","77998872298263482173428868303253894291","268830162758407135383449216305337328015","121993700716321348154556981758907662140","336345718510892047922844329974444305279","334711075174196747304968183830157462531","132077801361918190017142769220519471171","75785308436576473000520541694823128463","28247392612469245622203737602671273469","71453122358693134919735381709011090671","265867365654882043054268523103270191349","294084432659809916984605512527562968743","298485944403683859078857768490517552415","275694797709255524672747759951902936026"],"threshold":0.9},"id":"CVE-2023-25665-37e12dda","signature_type":"Line","signature_version":"v1"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25665.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}