Google Tensorflow vulnerabilities
432 known vulnerabilities affecting google/tensorflow.
Total CVEs
432
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL18HIGH234MEDIUM178LOW2
Vulnerabilities
Page 12 of 22
CVE-2022-36011P3HIGHCVSS 7.5fixed in 2.7.2≥ 2.8.0, < 2.8.1+2 more2022-09-16
CVE-2022-36011 [HIGH] CWE-476 CVE-2022-36011: TensorFlow is an open source platform for machine learning. When `mlir::tfg::ConvertGenericFunctionT
TensorFlow is an open source platform for machine learning. When `mlir::tfg::ConvertGenericFunctionToFunctionDef` is given empty function attributes, it gives a null dereference. We have patched the issue in GitHub commit 1cf45b831eeb0cab8655c9c7c5d06ec6f45fc41b. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on Ten
nvd
CVE-2022-41889P3HIGHCVSS 7.5fixed in 2.8.4≥ 2.9.0, < 2.9.3+1 more2022-11-18
CVE-2022-41889 [HIGH] CWE-476 CVE-2022-41889: TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assign
TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_volume_patches` by passing in quantized tensors as input `ksizes`. We have patched the issue in G
nvd
CVE-2022-41884P3HIGHCVSS 7.5fixed in 2.8.4≥ 2.9.0, < 2.9.3+1 more2022-11-18
CVE-2022-41884 [HIGH] CWE-670 CVE-2022-41884: TensorFlow is an open source platform for machine learning. If a numpy array is created with a shape
TensorFlow is an open source platform for machine learning. If a numpy array is created with a shape such that one element is zero and the others sum to a large number, an error will be raised. We have patched the issue in GitHub commit 2b56169c16e375c521a3bc8ea658811cc0793784. The fix will be included in TensorFlow 2.11. We will also cherrypick this
nvd
CVE-2025-55559P3HIGHCVSS 7.5v2.18.02025-09-25
CVE-2025-55559 [HIGH] CWE-400 CVE-2025-55559: An issue was discovered TensorFlow v2.18.0. A Denial of Service (DoS) occurs when padding is set to
An issue was discovered TensorFlow v2.18.0. A Denial of Service (DoS) occurs when padding is set to 'valid' in tf.keras.layers.Conv2D.
nvd
CVE-2020-15193P3HIGHCVSS 7.1v2.2.0v2.3.02020-09-25
CVE-2020-15193 [HIGH] CWE-908 CVE-2020-15193: In Tensorflow before versions 2.2.1 and 2.3.1, the implementation of `dlpack.to_dlpack` can be made
In Tensorflow before versions 2.2.1 and 2.3.1, the implementation of `dlpack.to_dlpack` can be made to use uninitialized memory resulting in further memory corruption. This is because the pybind11 glue code assumes that the argument is a tensor. However, there is nothing stopping users from passing in a Python object instead of a tensor. The uninitiali
nvd
CVE-2021-37655P3HIGHCVSS 7.3≥ 2.3.0, < 2.3.4≥ 2.4.0, < 2.4.3+2 more2021-08-12
CVE-2021-37655 [HIGH] CWE-125 CVE-2021-37655: TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attac
TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can trigger a read from outside of bounds of heap allocated data by sending invalid arguments to `tf.raw_ops.ResourceScatterUpdate`. The [implementation](https://github.com/tensorflow/tensorflow/blob/f24faa153ad31a4b51578f8181d3aaab77a1ddeb/tensorfl
nvd
CVE-2021-29518P4HIGHCVSS 7.8fixed in 2.1.4≥ 2.2.0, < 2.2.3+2 more2021-05-14
CVE-2021-29518 [HIGH] CWE-476 CVE-2021-29518: TensorFlow is an end-to-end open source platform for machine learning. In eager mode (default in TF
TensorFlow is an end-to-end open source platform for machine learning. In eager mode (default in TF 2.0 and later), session operations are invalid. However, users could still call the raw ops associated with them and trigger a null pointer dereference. The implementation(https://github.com/tensorflow/tensorflow/blob/eebb96c2830d48597d055d247c0e9aebaea9
nvd
CVE-2023-25661P4MEDIUMCVSS 6.5fixed in 2.11.12023-03-27
CVE-2023-25661 [MEDIUM] CWE-20 CVE-2023-25661: TensorFlow is an Open Source Machine Learning Framework. In versions prior to 2.11.1 a malicious inv
TensorFlow is an Open Source Machine Learning Framework. In versions prior to 2.11.1 a malicious invalid input crashes a tensorflow model (Check Failed) and can be used to trigger a denial of service attack. A proof of concept can be constructed with the `Convolution3DTranspose` function. This Convolution3DTranspose layer is a very common API in mode
nvd
CVE-2022-23567P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-23567 [MEDIUM] CWE-190 CVE-2022-23567: Tensorflow is an Open Source Machine Learning Framework. The implementations of `Sparse*Cwise*` ops
Tensorflow is an Open Source Machine Learning Framework. The implementations of `Sparse*Cwise*` ops are vulnerable to integer overflows. These can be used to trigger large allocations (so, OOM based denial of service) or `CHECK`-fails when building new `TensorShape` objects (so, assert failures based denial of service). We are missing some validation
nvd
CVE-2022-21731P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-21731 [MEDIUM] CWE-843 CVE-2022-21731: Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `
Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ConcatV2` can be used to trigger a denial of service attack via a segfault caused by a type confusion. The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `c
nvd
CVE-2022-21733P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-21733 [MEDIUM] CWE-190 CVE-2022-21733: Tensorflow is an Open Source Machine Learning Framework. The implementation of `StringNGrams` can be
Tensorflow is an Open Source Machine Learning Framework. The implementation of `StringNGrams` can be used to trigger a denial of service attack by causing an out of memory condition after an integer overflow. We are missing a validation on `pad_witdh` and that result in computing a negative value for `ngram_width` which is later used to allocate par
nvd
CVE-2022-23568P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-23568 [MEDIUM] CWE-190 CVE-2022-23568: Tensorflow is an Open Source Machine Learning Framework. The implementation of `AddManySparseToTenso
Tensorflow is an Open Source Machine Learning Framework. The implementation of `AddManySparseToTensorsMap` is vulnerable to an integer overflow which results in a `CHECK`-fail when building new `TensorShape` objects (so, an assert failure based denial of service). We are missing some validation on the shapes of the input tensors as well as directly
nvd
CVE-2022-21725P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-21725 [MEDIUM] CWE-369 CVE-2022-21725: Tensorflow is an Open Source Machine Learning Framework. The estimator for the cost of some convolut
Tensorflow is an Open Source Machine Learning Framework. The estimator for the cost of some convolution operations can be made to execute a division by 0. The function fails to check that the stride argument is strictly positive. Hence, the fix is to add a check for the stride argument to ensure it is valid. The fix will be included in TensorFlow 2.
nvd
CVE-2020-15210P4MEDIUMCVSS 6.5fixed in 1.15.4≥ 2.0.0, < 2.0.3+3 more2020-09-25
CVE-2020-15210 [MEDIUM] CWE-20 CVE-2020-15210: In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, if a TFLite saved model us
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, if a TFLite saved model uses the same tensor as both input and output of an operator, then, depending on the operator, we can observe a segmentation fault or just memory corruption. We have patched the issue in d58c96946b and will release patch releases for all versions between
nvd
CVE-2021-41211P4HIGHCVSS 7.1v2.6.02021-11-05
CVE-2021-41211 [HIGH] CWE-125 CVE-2021-41211: TensorFlow is an open source platform for machine learning. In affected versions the shape inference
TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `QuantizeV2` can trigger a read outside of bounds of heap allocated array. This occurs whenever `axis` is a negative value less than `-1`. In this case, we are accessing data before the start of a heap buffer. The code allows `axis` to be an o
nvd
CVE-2022-23572P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-04
CVE-2022-23572 [MEDIUM] CWE-754 CVE-2022-23572: Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, TensorFlow can fai
Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, TensorFlow can fail to specialize a type during shape inference. This case is covered by the `DCHECK` function however, `DCHECK` is a no-op in production builds and an assertion failure in debug builds. In the first case execution proceeds to the `ValueOrDie` line. Thi
nvd
CVE-2022-21741P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-21741 [MEDIUM] CWE-369 CVE-2022-21741: Tensorflow is an Open Source Machine Learning Framework. ### Impact An attacker can craft a TFLite m
Tensorflow is an Open Source Machine Learning Framework. ### Impact An attacker can craft a TFLite model that would trigger a division by zero in the implementation of depthwise convolutions. The parameters of the convolution can be user controlled and are also used within a division operation to determine the size of the padding that needs to be ad
nvd
CVE-2022-21729P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-21729 [MEDIUM] CWE-190 CVE-2022-21729: Tensorflow is an Open Source Machine Learning Framework. The implementation of `UnravelIndex` is vul
Tensorflow is an Open Source Machine Learning Framework. The implementation of `UnravelIndex` is vulnerable to a division by zero caused by an integer overflow bug. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in sup
nvd
CVE-2022-21738P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-21738 [MEDIUM] CWE-190 CVE-2022-21738: Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseCountSparseOut
Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseCountSparseOutput` can be made to crash a TensorFlow process by an integer overflow whose result is then used in a memory allocation. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and Tensor
nvd
CVE-2022-21732P4MEDIUMCVSS 6.5≤ 2.5.2≥ 2.6.0, ≤ 2.6.2+1 more2022-02-03
CVE-2022-21732 [MEDIUM] CWE-770 CVE-2022-21732: Tensorflow is an Open Source Machine Learning Framework. The implementation of `ThreadPoolHandle` ca
Tensorflow is an Open Source Machine Learning Framework. The implementation of `ThreadPoolHandle` can be used to trigger a denial of service attack by allocating too much memory. This is because the `num_threads` argument is only checked to not be negative, but there is no upper bound on its value. The fix will be included in TensorFlow 2.8.0. We wi
nvd