tensorflow: known vulnerabilities and the safe version

PyPI400 records

The version to be on

Version 2.12.1 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade tensorflow with pip

pip install --upgrade "tensorflow>=2.12.1"
pip show tensorflow | grep Version

Pin it in requirements.txt

tensorflow>=2.12.1

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch tensorflow

Get an email only when tensorflow has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in tensorflow and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for tensorflow

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/tensorflow/badge/)](https://securityelites.com/ai-vulnerabilities/package/tensorflow/)

All records

  • TensorFlow has segfault in array_ops.upper_boundHigh · CVE-2023-33976 · fixed in 2.12.1 · 31 Jul 2024
  • TensorFlow Denial of Service vulnerabilityMedium · CVE-2023-25661 · fixed in 2.11.1 · 28 Mar 2023
  • TensorFlow vulnerable to Out-of-Bounds Read in DynamicStitchHigh · CVE-2023-25659 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow vulnerable to seg fault in `tf.raw_ops.Print`High · CVE-2023-25660 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow vulnerable to integer overflow in EditDistanceHigh · CVE-2023-25662 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Null Pointer Error in TensorArrayConcatV2High · CVE-2023-25663 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Heap-buffer-overflow in AvgPoolGradHigh · CVE-2023-25664 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Null Pointer Error in SparseSparseMaximumHigh · CVE-2023-25665 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Floating Point Exception in AudioSpectrogramHigh · CVE-2023-25666 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow vulnerable to segfault when opening multiframe gifMedium · CVE-2023-25667 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has a heap out-of-buffer read vulnerability in the QuantizeAndDequantize operationCritical · CVE-2023-25668 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Floating Point Exception in AvgPoolGrad with XLAHigh · CVE-2023-25669 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Null Pointer Error in QuantizedMatMulWithBiasAndDequantizeHigh · CVE-2023-25670 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has segmentation fault in tfg-translateHigh · CVE-2023-25671 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Null Pointer Error in LookupTableImportV2High · CVE-2023-25672 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Floating Point Exception in TensorListSplit with XLAHigh · CVE-2023-25673 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Null Pointer Error in RandomShuffle with XLA enableHigh · CVE-2023-25674 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Segfault in Bincount with XLAHigh · CVE-2023-25675 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has null dereference on ParallelConcat with XLAHigh · CVE-2023-25676 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has double free in Fractional(Max/Avg)PoolHigh · CVE-2023-25801 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow has Floating Point Exception in TFLite in conv kernelHigh · CVE-2023-27579 · fixed in 2.11.1 · 25 Mar 2023
  • TensorFlow vulnerable to Out-of-Bounds Read in GRUBlockCellGradHigh · CVE-2023-25658 · fixed in 2.11.1 · 25 Mar 2023
  • Tensorflow vulnerable to Out-of-Bounds ReadMedium · CVE-2022-41880 · fixed in 2.10.1 · 22 Nov 2022
  • `CHECK` failure in `SobolSample` via missing validationLow · GHSA-cqvq-fvhr-v6hc · fixed in 2.10.1 · 22 Nov 2022
  • Invalid char to bool conversion when printing a tensorMedium · CVE-2022-41911 · fixed in 2.10.1 · 22 Nov 2022
  • Heap overflow in `QuantizeAndDequantizeV2`Medium · CVE-2022-41910 · fixed in 2.10.1 · 22 Nov 2022
  • Segfault in `CompositeTensorVariantToComponents`Medium · CVE-2022-41909 · fixed in 2.10.1 · 22 Nov 2022
  • `CHECK` fail via inputs in `PyFunc`Medium · CVE-2022-41908 · fixed in 2.10.1 · 22 Nov 2022
  • Overflow in `ResizeNearestNeighborGrad`Medium · CVE-2022-41907 · fixed in 2.10.1 · 22 Nov 2022
  • Out of bounds write in grappler in TensorflowHigh · CVE-2022-41902 · fixed in 2.10.1 · 22 Nov 2022
  • `CHECK_EQ` fail via input in `SparseMatrixNNZ`Medium · CVE-2022-41901 · fixed in 2.10.1 · 22 Nov 2022
  • `CHECK` fail via inputs in `SdcaOptimizer`Medium · CVE-2022-41899 · fixed in 2.10.1 · 22 Nov 2022
  • `CHECK` fail via inputs in `SparseFillEmptyRowsGrad`Medium · CVE-2022-41898 · fixed in 2.10.1 · 22 Nov 2022
  • `FractionalMaxPoolGrad` Heap out of bounds readMedium · CVE-2022-41897 · fixed in 2.10.1 · 22 Nov 2022
  • `tf.raw_ops.Mfcc` crashesMedium · CVE-2022-41896 · fixed in 2.10.1 · 22 Nov 2022
  • `MirrorPadGrad` heap out of bounds readMedium · CVE-2022-41895 · fixed in 2.10.1 · 22 Nov 2022
  • Buffer overflow in `CONV_3D_TRANSPOSE` on TFLiteHigh · CVE-2022-41894 · fixed in 2.10.1 · 22 Nov 2022
  • `CHECK_EQ` fail in `tf.raw_ops.TensorListResize`Medium · CVE-2022-41893 · fixed in 2.10.1 · 22 Nov 2022
  • Segfault in `tf.raw_ops.TensorListConcat`Medium · CVE-2022-41891 · fixed in 2.10.1 · 22 Nov 2022
  • `CHECK` fail in `BCast` overflowMedium · CVE-2022-41890 · fixed in 2.10.1 · 22 Nov 2022
  • FPE in `tf.image.generate_bounding_box_proposals`Medium · CVE-2022-41888 · fixed in 2.10.1 · 22 Nov 2022
  • Overflow in `tf.keras.losses.poisson`Medium · CVE-2022-41887 · fixed in 2.10.1 · 22 Nov 2022
  • Overflow in `ImageProjectiveTransformV2`Medium · CVE-2022-41886 · fixed in 2.10.1 · 22 Nov 2022
  • Overflow in `FusedResizeAndPadConv2D`Medium · CVE-2022-41885 · fixed in 2.9.1 · 22 Nov 2022
  • Seg fault in `ndarray_tensor_bridge` due to zero and large inputsMedium · CVE-2022-41884 · fixed in 2.10.1 · 22 Nov 2022
  • Out of bounds segmentation fault due to unequal op inputs in TensorflowMedium · CVE-2022-41883 · fixed in 2.10.1 · 22 Nov 2022
  • TensorFlow vulnerable to heap out of bounds read in filesystem glob matchingHigh · CVE-2020-26269 · fixed in 2.4.0 · 7 Oct 2022
  • TensorFlow vulnerable to `CHECK` fail in `Save` and `SaveSlices`Medium · CVE-2022-35983 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `ParameterizedTruncatedNormal`Medium · CVE-2022-35984 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `LRNGrad`Medium · CVE-2022-35985 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `tf.linalg.matrix_rank`Medium · CVE-2022-35988 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `MaxPool`Medium · CVE-2022-35989 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `SparseBincount`Medium · CVE-2022-35982 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `FractionalMaxPoolGrad`Medium · CVE-2022-35981 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `QuantizedRelu` and `QuantizedRelu6`Medium · CVE-2022-35979 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `QuantizeDownAndShrinkRange`Medium · CVE-2022-35974 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `QuantizedMatMul`Medium · CVE-2022-35973 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `QuantizedBiasAdd`Medium · CVE-2022-35972 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `FakeQuantWithMinMaxVars`Medium · CVE-2022-35971 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `QuantizedInstanceNorm`Medium · CVE-2022-35970 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `Conv2DBackpropInput`Medium · CVE-2022-35969 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `AvgPoolGrad`Medium · CVE-2022-35968 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `QuantizedAdd`Medium · CVE-2022-35967 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `QuantizedAvgPool`Medium · CVE-2022-35966 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `FakeQuantWithMinMaxVarsPerChannelGradient`Medium · CVE-2022-35990 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `TensorListScatter` and `TensorListScatterV2`Medium · CVE-2022-35991 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `LowerBound` and `UpperBound`Medium · CVE-2022-35965 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `TensorListFromTensor`Medium · CVE-2022-35992 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to segfault in `BlockLSTMGradV2`Medium · CVE-2022-35964 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` failures in `FractionalAvgPoolGrad`Medium · CVE-2022-35963 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` failures in `UnbatchGradOp`Medium · CVE-2022-35952 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `CollectiveGather`Medium · CVE-2022-35994 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` failure in `TensorListReserve` via missing validationMedium · CVE-2022-35960 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to floating point exception in `Conv2D`Medium · CVE-2022-35996 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `EmptyTensorList`Medium · CVE-2022-35998 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to null dereference on MLIR on empty function attributesMedium · CVE-2022-36000 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `DrawBoundingBoxes`Medium · CVE-2022-36001 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `Unbatch`Medium · CVE-2022-36002 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to null-dereference in `mlir::tfg::GraphDefImporter::ConvertNodeDef`Medium · CVE-2022-36013 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to null dereference on MLIR on empty function attributesMedium · CVE-2022-36011 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `RandomPoissonV2`Medium · CVE-2022-36003 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `FakeQuantWithMinMaxVarsGradient`Medium · CVE-2022-36005 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `AudioSummaryV2`Medium · CVE-2022-35995 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `tf.random.gamma`Medium · CVE-2022-36004 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK`-fail in `tensorflow::full_type::SubstituteFromAttrs`Low · CVE-2022-36016 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to null-dereference in `mlir::tfg::TFOp::nameAttr`Medium · CVE-2022-36014 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to integer overflow in math opsLow · CVE-2022-36015 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to assertion fail on MLIR empty edge namesMedium · CVE-2022-36012 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `DenseBincount`Medium · CVE-2022-35987 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` failure in `AvgPoolOp`Medium · CVE-2022-35941 · fixed in 2.9.2 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `QuantizeAndDequantizeV3`Medium · CVE-2022-36026 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `RaggedTensorToVariant`Medium · CVE-2022-36018 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `FakeQuantWithMinMaxVarsPerChannel`Medium · CVE-2022-36019 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow segfault TFLite converter on per-channel quantized transposed convolutionsMedium · CVE-2022-36027 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to OOB write in `scatter_nd` in TF LiteHigh · CVE-2022-35939 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to OOB read in `Gather_nd` in TF LiteHigh · CVE-2022-35937 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` failure in tf.reshape via overflowsMedium · CVE-2022-35934 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` failure in `SobolSample` via missing validationMedium · CVE-2022-35935 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `tf.sparse.cross`Medium · CVE-2022-35997 · fixed in 2.9.1 · 17 Sep 2022
  • TensorFlow vulnerable to `CHECK` fail in `Conv2DBackpropInput`Medium · CVE-2022-35999 · fixed in 2.9.1 · 17 Sep 2022