{"id":"CVE-2023-25675","published":"2023-03-24T23:11:30Z","modified":"2025-02-19T20:23:37Z","title":"TensorFlow has Segfault in Bincount with XLA","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source machine learning platform. When running versions prior to 2.12.0 and 2.11.1 with XLA, `tf.raw_ops.Bincount` segfaults when given a parameter `weights` that is neither the same shape as parameter `arr` nor a length-0 tensor. A fix is included in TensorFlow 2.12.0 and 2.11.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00394,"percentile":0.3447,"provenance":"source"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/8ae76cf085f4be26295d2ecf2081e759e04b8acf","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":6.89},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.11.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-19T20:23:26.772429Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-7x4v-9gxg-9hwj","PYSEC-2026-3131"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-7x4v-9gxg-9hwj","PYSEC-2026-3294"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-7x4v-9gxg-9hwj","PYSEC-2026-967"],"provenance":"source"}],"summary":{"text":"The flaw is an incorrect comparison in TensorFlow's tf.raw_ops.Bincount operation when XLA is enabled, which causes a segmentation fault. It affects the tensorflow product, and the fix is included in versions 2.12.0 and 2.11.1. An attacker with network access and no authentication or user interaction can trigger a crash by supplying a weights parameter whose shape differs from arr and is not a length-0 tensor, resulting in denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:25Z"},"euvd":{"id":"EUVD-2023-0933","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2020-15203","parents":[{"from":"CVE-2022-35987","to":"CVE-2023-25675","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/compiler/tf2xla/kernels/bincount_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/bf4c14353c2328636a18bfad1e151052c81d5f43","https://github.com/tensorflow/tensorflow/commit/8ae76cf085f4be26295d2ecf2081e759e04b8acf"],"basis":"shared function","functions":["DenseBincountOp"]}]}]}}