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-41197

published medium CVSS 3.1 · 5.5

Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes

Published
05 Nov 2021, 19:55:36 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 TensorFlow allows tensor to have a large number of dimensions and each dimension can be as large as desired. However, the total number of elements in a tensor must fit within an `int64_t`. If an overflow occurs, `MultiplyWithoutOverflow` would return a negative result. In the majority of TensorFlow codebase this then results in a `CHECK`-failure. Newer constructs exist which return a `Status` instead of crashing the binary. This is similar to CVE-2021-29584. 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
5.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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-190 CWE-190: Integer Overflow or Wraparound (GitHub_M · cna)

References

6

Provider assertions

2

GitHub_M · cna

Crashes due to overflow and `CHECK`-fail in ops with large tensor shapes

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9c08885d792bf409f80cb8251f038682c5c5353f2c6f67b617d73b190f12ec23
Ingested
23 Sep 2026, 07:56:07 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