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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- 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-558h-mq8x-7q9g, BIT-tensorflow-2023-25665, PYSEC-2026-1956, PYSEC-2026-3106, PYSEC-2026-3276
- Record: https://cvemate.com/vulnerability/CVE-2023-25665 · JSON: https://cvemate.com/vulnerability/CVE-2023-25665/json

## Description

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

## 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.443%, percentile 40.245%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## 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-558h-mq8x-7q9g>
- <https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25665>
- <https://github.com/tensorflow/tensorflow>
- <https://pypi.org/project/tensorflow-gpu>
- <https://github.com/advisories/GHSA-558h-mq8x-7q9g>
- <https://pypi.org/project/tensorflow>
- <https://pypi.org/project/tensorflow-cpu>

---

Data as of 2026-12-05T02:33:40.345Z. 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
