# CVE-2023-25675: TensorFlow has Segfault in Bincount with XLA

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.11.1, 2.12.0 (CNA); fix release not confirmed
- Status: published
- Published: 2023-03-24 · Modified: 2025-02-19
- Aliases: GHSA-7x4v-9gxg-9hwj, BIT-tensorflow-2023-25675, PYSEC-2026-3131, PYSEC-2026-3294, PYSEC-2026-967
- Record: https://cvemate.com/vulnerability/CVE-2023-25675 · JSON: https://cvemate.com/vulnerability/CVE-2023-25675/json

## 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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.399%, percentile 36.318%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- google tensorflow: \< 2.12.0
- PyPI tensorflow (PyPI): \< 2.11.1
- PyPI tensorflow-cpu (PyPI): \< 2.11.1
- PyPI tensorflow-gpu (PyPI): \< 2.11.1
- tensorflow tensorflow: \< 2.11.1

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj>
- <https://github.com/tensorflow/tensorflow/commit/8ae76cf085f4be26295d2ecf2081e759e04b8acf>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25675>
- <https://github.com/tensorflow/tensorflow>
- <https://pypi.org/project/tensorflow>
- <https://github.com/advisories/GHSA-7x4v-9gxg-9hwj>
- <https://pypi.org/project/tensorflow-cpu>
- <https://pypi.org/project/tensorflow-gpu>

---

Data as of 2026-12-05T02:45:12.428Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
