# CVE-2023-25665: TensorFlow has Null Pointer Error in SparseSparseMaximum

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-24T21:57:25.000Z
- Modified: 2026-09-10T03:49:52.432Z
- Also known as: GHSA-558h-mq8x-7q9g, BIT-TENSORFLOW-2023-25665, PYSEC-2026-1956, PYSEC-2026-3106, PYSEC-2026-3276
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-558h-mq8x-7q9g> (exploit, fix, patch, web)
- <https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25665> (advisory, web)
- <https://github.com/tensorflow/tensorflow> (package)
- <https://pypi.org/project/tensorflow-gpu> (package)
- <https://github.com/advisories/GHSA-558h-mq8x-7q9g> (advisory)
- <https://pypi.org/project/tensorflow> (package)
- <https://pypi.org/project/tensorflow-cpu> (package)

## Sources

- CVE List: [CVE-2023-25665](https://www.cve.org/CVERecord?id=CVE-2023-25665), CVE Terms of Use, modified 2025-02-19
- GitHub Advisory Database: [GHSA-558h-mq8x-7q9g](https://github.com/advisories/GHSA-558h-mq8x-7q9g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-25665](https://nvd.nist.gov/vuln/detail/CVE-2023-25665), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1956](https://osv.dev/vulnerability/PYSEC-2026-1956), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3106](https://osv.dev/vulnerability/PYSEC-2026-3106), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3276](https://osv.dev/vulnerability/PYSEC-2026-3276), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2023-25665](https://osv.dev/vulnerability/BIT-TENSORFLOW-2023-25665), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-25665 · Whole record: https://cve.day/CVE-2023-25665.json · Rebuilt by cve.day 2026-11-25T22:58:22.676Z
