{"cve":"CVE-2022-41901","nvd":{"published":"2022-11-18T22:15:20.907","modified":"2026-06-17T05:04:01.653","status":"Modified","description":"TensorFlow is an open source platform for machine learning. An input `sparse_matrix` that is not a matrix with a shape with rank 0 will trigger a `CHECK` fail in `tf.raw_ops.SparseMatrixNNZ`. We have patched the issue in GitHub commit f856d02e5322821aad155dad9b3acab1e9f5d693. 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-617","CWE-20"],"references":["https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/sparse/sparse_matrix.h","https://github.com/tensorflow/tensorflow/commit/f856d02e5322821aad155dad9b3acab1e9f5d693","https://github.com/tensorflow/tensorflow/security/advisories/GHSA-g9fm-r5mm-rf9f","https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/sparse/sparse_matrix.h","https://github.com/tensorflow/tensorflow/commit/f856d02e5322821aad155dad9b3acab1e9f5d693"],"products":["google:tensorflow"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-41901","score":0.00494,"percentile":0.42412,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g9fm-r5mm-rf9f","url":"https://osv.dev/vulnerability/GHSA-g9fm-r5mm-rf9f","summary":"`CHECK_EQ` fail via input in `SparseMatrixNNZ`","modified":"2026-07-13T16:42:44.286288339Z","packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<2.8.4"],"fixed":["2.8.4"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.9.0 <2.9.3"],"fixed":["2.9.3"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.10.0 <2.10.1"],"fixed":["2.10.1"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<2.8.4"],"fixed":["2.8.4"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<2.8.4"],"fixed":["2.8.4"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.9.0 <2.9.3"],"fixed":["2.9.3"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.9.0 <2.9.3"],"fixed":["2.9.3"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.10.0 <2.10.1"],"fixed":["2.10.1"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.10.0 <2.10.1"],"fixed":["2.10.1"]}]},{"id":"PYSEC-2026-3185","url":"https://osv.dev/vulnerability/PYSEC-2026-3185","summary":"`CHECK_EQ` fail via input in `SparseMatrixNNZ`","modified":"2026-07-13T16:42:44.286288339Z","packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<2.8.4",">=2.9.0 <2.9.3",">=2.10.0 <2.10.1"],"fixed":["2.8.4","2.9.3","2.10.1"]}]},{"id":"PYSEC-2026-3328","url":"https://osv.dev/vulnerability/PYSEC-2026-3328","summary":"`CHECK_EQ` fail via input in `SparseMatrixNNZ`","modified":"2026-07-13T16:42:44.286288339Z","packages":[{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<2.8.4",">=2.9.0 <2.9.3",">=2.10.0 <2.10.1"],"fixed":["2.8.4","2.9.3","2.10.1"]}]},{"id":"PYSEC-2026-997","url":"https://osv.dev/vulnerability/PYSEC-2026-997","summary":"`CHECK_EQ` fail via input in `SparseMatrixNNZ`","modified":"2026-07-13T16:42:44.286288339Z","packages":[{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<2.8.4",">=2.9.0 <2.9.3",">=2.10.0 <2.10.1"],"fixed":["2.8.4","2.9.3","2.10.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}