Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-41219

published high CVSS 3.1 · 7.8

Undefined behavior via `nullptr` reference binding in sparse matrix multiplication

Published
05 Nov 2021, 20:50:17 UTC
Updated
04 Aug 2024, 03:08:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
tensorflow — tensorflow>= 2.6.0, < 2.6.1 · >= 2.5.0, < 2.5.2 · < 2.4.4 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-liteaarch64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-liteppc64le Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lites390x Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-litex86_64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-develaarch64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-develppc64le Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-devels390x Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-develx86_64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1

Description

TensorFlow is an open source platform for machine learning. In affected versions the code for sparse matrix multiplication is vulnerable to undefined behavior via binding a reference to `nullptr`. This occurs whenever the dimensions of `a` or `b` are 0 or less. In the case on one of these is 0, an empty output tensor should be allocated (to conserve the invariant that output tensors are always allocated when the operation is successful) but nothing should be written to it (that is, we should return early from the kernel implementation). Otherwise, attempts to write to this empty tensor would result in heap OOB access. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
tensorflow tensorflow >= 2.6.0, < 2.6.1 (affected)>= 2.5.0, < 2.5.2 (affected)< 2.4.4 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-824 CWE-824: Access of Uninitialized Pointer (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Undefined behavior via `nullptr` reference binding in sparse matrix multiplication

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
280f8afca346ba9f05802422eb35b27347d1c9d16a0709b6e3e29182477d9019
Ingested
23 Sep 2026, 07:56:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected