← Vulnerability feed

Vulnerability record · CVE-2021-41206 · published 5 November 2021

CVE-2021-41206: Google tensorflow vulnerability

Google · Tensorflow

TensorFlow is an open source platform for machine learning. In affected versions several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or `CHECK`-fail related crashes but in some scenarios writes and reads from heap populated arrays are also possible. We have discovered these issues internally via tooling while working on improving/testing GPU op determinism. As such, we don't have reproducers and there will be multiple fixes for these issues. These fixes will be included in TensorFlow 2.7.0. We will also cherrypick these commits on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

7.8 CVSS 3.1 High EPSS 0.18% · top 92.4% CWE-354 · CWE-354
7.8CVSS 3.1 base score, v2 4.6
0.18%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References
17 Jun 2026Last modified by NVD

Description

TensorFlow is an open source platform for machine learning. In affected versions several TensorFlow operations are missing validation for the shapes of the tensor arguments involved in the call. Depending on the API, this can result in undefined behavior and segfault or `CHECK`-fail related crashes but in some scenarios writes and reads from heap populated arrays are also possible. We have discovered these issues internally via tooling while working on improving/testing GPU op determinism. As such, we don't have reproducers and there will be multiple fixes for these issues. These fixes will be included in TensorFlow 2.7.0. We will also cherrypick these commits on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/tensorflow/tensorflow/commit/4d74d8a00b07441cba090a02e0dd9ed385145bf4 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/4dddb2fd0b01cdd196101afbba6518658a2c9e07 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/579261dcd446385831fe4f7457d802a59685121d PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/68422b215e618df5ad375bcdc6d2052e9fd3080a PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/da4aad5946be30e5f049920fa076e1f7ef021261 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/e7f497570abb6b4ae5af4970620cd880e4c0c904 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-pgcq-h79j-2f69 Third Party Advisory
https://github.com/tensorflow/tensorflow/commit/4d74d8a00b07441cba090a02e0dd9ed385145bf4 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/4dddb2fd0b01cdd196101afbba6518658a2c9e07 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/579261dcd446385831fe4f7457d802a59685121d PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/68422b215e618df5ad375bcdc6d2052e9fd3080a PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/da4aad5946be30e5f049920fa076e1f7ef021261 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/commit/e7f497570abb6b4ae5af4970620cd880e4c0c904 PatchThird Party Advisory
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-pgcq-h79j-2f69 Third Party Advisory

Track CVE-2021-41206 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2020-15196Google tensorflow memory buffer overflow vulnerabilityIn Tensorflow version 2.3.0, the `SparseCountSparseOutput` and `RaggedCountSparseOutput` implementations don't validate that the `weights` tensor has…EPSS 0.91%9.8CVE-2020-15208Google tensorflow out-of-bounds read vulnerabilityIn tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two tensors, TFLite uses a `D…EPSS 0.91%9.8CVE-2020-15205Google tensorflow memory buffer overflow vulnerabilityIn Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `data_splits` argument of `tf.raw_ops.StringNGrams` lacks validation. This a…EPSS 1.0%9.8CVE-2019-16778Google tensorflow heap-based buffer overflow vulnerabilityIn TensorFlow before 1.15, a heap buffer overflow in UnsortedSegmentSum can be produced when the Index template argument is int32. In this case data_…EPSS 0.79%9.8CVE-2018-7575Google tensorflow integer overflow vulnerabilityGoogle TensorFlow 1.7.x and earlier is affected by a Buffer Overflow vulnerability. The type of exploitation is context-dependent.EPSS 0.63%9.0CVE-2020-15202Google tensorflow vulnerabilityIn Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `Shard` API in TensorFlow expects the last argument to be a function taking …EPSS 1.3%9.0CVE-2020-15207Google tensorflow memory buffer overflow vulnerabilityIn tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, to mimic Python's indexing with negative values, TFLite uses `ResolveAxis` …EPSS 1.2%8.8CVE-2020-15195Google tensorflow memory buffer overflow vulnerabilityIn Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the implementation of `SparseFillEmptyRowsGrad` uses a double indexing pattern. …EPSS 0.95%

Source: NIST National Vulnerability Database (record CVE-2021-41206), CISA KEV, FIRST EPSS (scores of 2026-11-23). This page is refreshed as NVD updates the record.