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

published high CVSS 3.1 · 7.8

Use after free in boosted trees creation in TensorFlow

Published
12 Aug 2021, 21:15:12 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 the implementation for `tf.raw_ops.BoostedTreesCreateEnsemble` can result in a use after free error if an attacker supplies specially crafted arguments. The [implementation](https://github.com/tensorflow/tensorflow/blob/f24faa153ad31a4b51578f8181d3aaab77a1ddeb/tensorflow/core/kernels/boosted_trees/resource_ops.cc#L55) uses a reference counted resource and decrements the refcount if the initialization fails, as it should. However, when the code was written, the resource was represented as a naked pointer but later refactoring has changed it to be a smart pointer. Thus, when the pointer leaves the scope, a subsequent `free`-ing of the resource occurs, but this fails to take into account that the refcount has already reached 0, thus the resource has been already freed. During this double-free process, members of the resource object are accessed for cleanup but they are invalid as the entire resource has been freed. We have patched the issue in GitHub commit 5ecec9c6fbdbc6be03295685190a45e7eee726ab. 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
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.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 in boosted trees creation in TensorFlow

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
6ea6eda30b819c5cdfb40a4b3fce787afb69fcfd4b7faed9d699a2facf5ea79e
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