# CVE-2022-41898: `CHECK` fail via inputs in `SparseFillEmptyRowsGrad` in Tensorflow

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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.64%, higher than 52% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-18T00:00:00.000Z
- Modified: 2026-09-08T08:48:20.455Z
- Also known as: GHSA-hq7g-wwwp-q46h, BIT-TENSORFLOW-2022-41898, PYSEC-2026-1008, PYSEC-2026-3201, PYSEC-2026-3340
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

TensorFlow is an open source platform for machine learning. If `SparseFillEmptyRowsGrad` is given empty inputs, TensorFlow will crash. We have patched the issue in GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: >= 2.10.0, < 2.10.1; >= 2.9.0, < 2.9.3; < 2.8.4
- tensorflow (PyPI): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- tensorflow-cpu (PyPI): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- tensorflow-gpu (PyPI): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- google tensorflow: before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- tensorflow (Bitnami): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hq7g-wwwp-q46h> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/af4a6a3c8b95022c351edae94560acc61253a1b8> (advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/sparse_fill_empty_rows_op_gpu.cu.cc> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41898> (advisory, web)
- <https://github.com/tensorflow/tensorflow> (package)
- <https://pypi.org/project/tensorflow-gpu> (package)
- <https://github.com/advisories/GHSA-hq7g-wwwp-q46h> (advisory)
- <https://pypi.org/project/tensorflow> (package)
- <https://pypi.org/project/tensorflow-cpu> (package)

## Sources

- CVE List: [CVE-2022-41898](https://www.cve.org/CVERecord?id=CVE-2022-41898), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-hq7g-wwwp-q46h](https://github.com/advisories/GHSA-hq7g-wwwp-q46h), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2022-41898](https://nvd.nist.gov/vuln/detail/CVE-2022-41898), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1008](https://osv.dev/vulnerability/PYSEC-2026-1008), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3201](https://osv.dev/vulnerability/PYSEC-2026-3201), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3340](https://osv.dev/vulnerability/PYSEC-2026-3340), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2022-41898](https://osv.dev/vulnerability/BIT-TENSORFLOW-2022-41898), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-41898 · Whole record: https://cve.day/CVE-2022-41898.json · Rebuilt by cve.day 2026-11-25T22:58:16.642Z
