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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25665.json",
"cwe_ids": [
"CWE-476"
]
}[
{
"target": {
"file": "tensorflow/core/kernels/sparse_sparse_binary_op_shared.cc"
},
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2023-25665-37e12dda",
"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
},
"source": "https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25665.json"
"2026-08-04T17:09:46Z"