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

published medium CVSS 3.1 · 6.6

Use after free and segfault in shape inference functions in TensorFlow

Published
12 Aug 2021, 23:10:16 UTC
Updated
04 Aug 2024, 01:23:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
tensorflow — tensorflow>= 2.5.0, < 2.5.1 · >= 2.4.0, < 2.4.3 · < 2.3.4 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Leap-15.3 bazel-skylib1.0.3-sourcenoarch Advisory build 1.0.3-bp153.2.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 bazel3.7aarch64 Advisory build 3.7.2-bp153.4.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 bazel3.7ppc64le Advisory build 3.7.2-bp153.4.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 bazel3.7x86_64 Advisory build 3.7.2-bp153.4.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libiomp5x86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libiomp5-gnu-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libiomp5-gnu-openmpi2-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
Show 54 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow2aarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow2x86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow2-gnu-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow2-gnu-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow2-gnu-openmpi2-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow2-gnu-openmpi2-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_cc2aarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_cc2x86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_cc2-gnu-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_cc2-gnu-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_cc2-gnu-openmpi2-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_cc2-gnu-openmpi2-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_framework2aarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_framework2x86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_framework2-gnu-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_framework2-gnu-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_framework2-gnu-openmpi2-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 libtensorflow_framework2-gnu-openmpi2-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2aarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2x86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-develaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-develx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-docaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-docx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-gnu-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-gnu-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-gnu-openmpi2-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-gnu-openmpi2-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-liteaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-lites390x Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-litex86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-lite-develaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-lite-devels390x Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2-lite-develx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-hpc-develaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-hpc-develx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-hpc-docaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-hpc-docx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-openmpi2-hpcaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-openmpi2-hpcx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-openmpi2-hpc-develaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-openmpi2-hpc-develx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-openmpi2-hpc-docaarch64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
SUSE / openSUSE openSUSE-Leap-15.3 tensorflow2_2_6_0-gnu-openmpi2-hpc-docx86_64 Advisory build 2.6.0-bp153.2.3.1 OPENSUSE-SU-2022:10014-1
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
SUSE / openSUSE openSUSE-Tumbleweed tensorflow-lite-develx86_64 Advisory build 2.9.1-1.1 OPENSUSE-SU-2024:12116-1

Description

TensorFlow is an end-to-end open source platform for machine learning. In affected versions when running shape functions, some functions (such as `MutableHashTableShape`) produce extra output information in the form of a `ShapeAndType` struct. The shapes embedded in this struct are owned by an inference context that is cleaned up almost immediately; if the upstream code attempts to access this shape information, it can trigger a segfault. `ShapeRefiner` is mitigating this for normal output shapes by cloning them (and thus putting the newly created shape under ownership of an inference context that will not die), but we were not doing the same for shapes and types. This commit fixes that by doing similar logic on output shapes and types. We have patched the issue in GitHub commit ee119d4a498979525046fba1c3dd3f13a039fbb1. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.6 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/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.5.0, < 2.5.1 (affected)>= 2.4.0, < 2.4.3 (affected)< 2.3.4 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-416 CWE-416: Use After Free (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Use after free and segfault in shape inference functions in TensorFlow

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c21507ff5c1e8e39675d6424d256e776b6aea8cf19b5e060f71a18a5a05d3fe5
Ingested
23 Sep 2026, 07:55:20 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