CVE-2023-25675
HIGH 7.5CVSS 3.1TensorFlow has Segfault in Bincount with XLA
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.
- Published
- 25 Mar 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-697
- Also known as
- BIT-tensorflow-2023-25675GHSA-7x4v-9gxg-9hwjPYSEC-2026-3131PYSEC-2026-3294PYSEC-2026-967
- Sources
- NVDJSONOSV GHSA-7x4v-9gxg-9hwjJSONOSV PYSEC-2026-3131JSONOSV PYSEC-2026-3294JSONOSV PYSEC-2026-967JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* |
< 2.12.0 | 2.12.0 | |
| OSV | PyPI | tensorflow | < 2.11.1 | 2.11.1 |
| OSV | PyPI | tensorflow-cpu | < 2.11.1 | 2.11.1 |
| OSV | PyPI | tensorflow-gpu | < 2.11.1 | 2.11.1 |
References
- https://github.com/tensorflow/tensorflow/commit/8ae76cf085f4be26295d2ecf2081e759e04b8acf · Patch, WEB
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-7x4v-9gxg-9hwj · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-25675 · ADVISORY
- https://github.com/tensorflow/tensorflow · PACKAGE
- https://pypi.org/project/tensorflow · PACKAGE
- https://github.com/advisories/GHSA-7x4v-9gxg-9hwj · ADVISORY
- https://pypi.org/project/tensorflow-cpu · PACKAGE
- https://pypi.org/project/tensorflow-gpu · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Mar 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Mar 2023)