{"id":"CVE-2023-25659","summary":"TensorFlow vulnerable to Out-of-Bounds Read in DynamicStitch","details":"TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, if the parameter `indices` for `DynamicStitch` does not match the shape of the parameter `data`, it can trigger an stack OOB read. A fix is included in TensorFlow version 2.12.0 and version 2.11.1.\n","aliases":["BIT-tensorflow-2023-25659","GHSA-93vr-9q9m-pj8p","PYSEC-2026-1959","PYSEC-2026-3142","PYSEC-2026-3300"],"modified":"2026-08-12T13:32:25.898129Z","published":"2023-03-24T23:43:26.319Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25659.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25659.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-93vr-9q9m-pj8p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25659"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/ee004b18b976eeb5a758020af8880236cd707d05"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"0db597d0d758aba578783b5bf46c889700a45085"},{"fixed":"ee004b18b976eeb5a758020af8880236cd707d05"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.12.0"}]}}],"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:25Z","vanir_signatures":[{"target":{"file":"tensorflow/compiler/tf2xla/kernels/dynamic_stitch_op.cc"},"deprecated":false,"digest":{"line_hashes":["48289104189368459808855090247808031501","309993888516959580610495605607246381915","178881689296762050730790163235922820465","92523503636412736143466495903848871753"],"threshold":0.9},"id":"CVE-2023-25659-72a2367b","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/ee004b18b976eeb5a758020af8880236cd707d05"},{"digest":{"line_hashes":["135323903112536021715575352718046271973","158538384894647284537720278798803149816","277411215060617538965702881875681577680","298391688047446550548369445587004256938","76693024118378254854888258936281571318","223747242145365057737384311681029469887","227605437253607485075780380086862739171","7654843279464879729749187432920339828","101733301209324317299187621660816483005","4689935817347914512872288070880045298","239241776056829787498165418783911671498","223747242145365057737384311681029469887","168403725022681778871758992462179119876","279834615968063889837873758318935586339","97324715188321102945102002110867849176"],"threshold":0.9},"id":"CVE-2023-25659-db7371d6","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/ee004b18b976eeb5a758020af8880236cd707d05","target":{"file":"tensorflow/core/kernels/dynamic_stitch_op.cc"},"deprecated":false}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-25659.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"}]}