CVE-2022-35960
`CHECK` failure in `TensorListReserve` in TensorFlow
TensorFlow is an open source platform for machine learning. In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement. We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.9
`CHECK` failure in `TensorListReserve` in TensorFlow
TensorFlow is an open source platform for machine learning. In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement. We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
- Record
CVE-2022-35960- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
EUVDEUVD-2022-6941
5.9
TensorFlow is an open source platform for machine learning. In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement. We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
- Record
EUVD-2022-6941- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-v5xg-3q2c-c2r4
5.9
TensorFlow vulnerable to `CHECK` failure in `TensorListReserve` via missing validation
Impact
In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement.
import tensorflow as tf
tf.raw_ops.TensorListReserve(element_shape=(1,1), num_elements=tf.constant([1,1], dtype=tf.int32), element_dtype=tf.int8)
Patches
We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7.
The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Kang Hong Jin from Singapore Management University.
- Record
GHSA-v5xg-3q2c-c2r4- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
NVD
5.9
TensorFlow is an open source platform for machine learning. In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement. We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
- Record
CVE-2022-35960- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
OSV
5.9
`CHECK` failure in `TensorListReserve` in TensorFlow
TensorFlow is an open source platform for machine learning. In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement. We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
- Record
CVE-2022-35960- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
OSVGHSA-v5xg-3q2c-c2r4
5.9
TensorFlow vulnerable to `CHECK` failure in `TensorListReserve` via missing validation
Impact
In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement.
import tensorflow as tf
tf.raw_ops.TensorListReserve(element_shape=(1,1), num_elements=tf.constant([1,1], dtype=tf.int32), element_dtype=tf.int8)
Patches
We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7.
The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Kang Hong Jin from Singapore Management University.
- Record
GHSA-v5xg-3q2c-c2r4- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-617
- Updated
- 2026-11-02
Show 5 moreShow less
OSVPYSEC-2026-1036
5.9
TensorFlow vulnerable to `CHECK` failure in `TensorListReserve` via missing validation
Impact
In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement.
import tensorflow as tf
tf.raw_ops.TensorListReserve(element_shape=(1,1), num_elements=tf.constant([1,1], dtype=tf.int32), element_dtype=tf.int8)
Patches
We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7.
The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Kang Hong Jin from Singapore Management University.
- Record
PYSEC-2026-1036- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVPYSEC-2026-3243
5.9
TensorFlow vulnerable to `CHECK` failure in `TensorListReserve` via missing validation
Impact
In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement.
import tensorflow as tf
tf.raw_ops.TensorListReserve(element_shape=(1,1), num_elements=tf.constant([1,1], dtype=tf.int32), element_dtype=tf.int8)
Patches
We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7.
The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Kang Hong Jin from Singapore Management University.
- Record
PYSEC-2026-3243- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVPYSEC-2026-3370
5.9
TensorFlow vulnerable to `CHECK` failure in `TensorListReserve` via missing validation
Impact
In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement.
import tensorflow as tf
tf.raw_ops.TensorListReserve(element_shape=(1,1), num_elements=tf.constant([1,1], dtype=tf.int32), element_dtype=tf.int8)
Patches
We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7.
The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Kang Hong Jin from Singapore Management University.
- Record
PYSEC-2026-3370- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBIT-tensorflow-2022-35960 No score
`CHECK` failure in `TensorListReserve` in TensorFlow
TensorFlow is an open source platform for machine learning. In core/kernels/list_kernels.cc's TensorListReserve, num_elements is assumed to be a tensor of size 1. When a num_elements of more than 1 element is provided, then tf.raw_ops.TensorListReserve fails the CHECK_EQ in CheckIsAlignedAndSingleElement. We have patched the issue in GitHub commit b5f6fbfba76576202b72119897561e3bd4f179c7. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.
- Record
BIT-tensorflow-2022-35960- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12355-1 No score
tensorflow-lite-2.10.0-1.1 on GA media
These are all security issues fixed in the tensorflow-lite-2.10.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12355-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tensorflowPyPI |
before 2.7.2 | 2.7.2 |
tensorflowPyPI |
2.8.0 up to 2.8.1 | 2.8.1 |
tensorflowPyPI |
2.9.0 up to 2.9.1 | 2.9.1 |
tensorflow-cpuPyPI |
before 2.7.2 | 2.7.2 |
tensorflow-cpuPyPI |
2.8.0 up to 2.8.1 | 2.8.1 |
tensorflow-cpuPyPI |
2.9.0 up to 2.9.1 | 2.9.1 |
tensorflow-gpuPyPI |
before 2.7.2 | 2.7.2 |
tensorflow-gpuPyPI |
2.8.0 up to 2.8.1 | 2.8.1 |
tensorflow-gpuPyPI |
2.9.0 up to 2.9.1 | 2.9.1 |
tensorflowBitnami |
2.7.0 up to 2.7.2, 2.8.0 to 2.8.0, 2.9.0 to 2.9.0 | 2.7.2 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tensorflowPyPI |
before 2.7.2, plus listed versions 0.12.00.12.11.0.01.0.11.1.0 Show 45 moreShow less1.10.01.10.11.11.01.12.01.12.21.12.31.13.11.13.21.14.01.15.01.15.21.15.31.15.41.15.51.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.01.7.01.7.11.8.01.9.02.0.02.0.12.0.22.0.32.0.42.1.02.1.12.1.22.1.32.1.42.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.4 |
2.7.2 |
tensorflow-cpuPyPI |
before 2.7.2, plus listed versions 1.15.02.1.02.1.12.1.22.1.3 Show 27 moreShow less2.1.42.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.42.4.02.4.12.4.22.4.32.4.42.5.02.5.12.5.22.5.32.6.02.6.12.6.22.6.32.6.42.6.52.7.02.7.1 |
2.7.2 |
tensorflow-gpuPyPI |
before 2.7.2, plus listed versions 0.12.00.12.11.0.01.0.11.1.0 Show 45 moreShow less1.10.01.10.11.11.01.12.01.12.21.12.31.13.11.13.21.14.01.15.01.15.21.15.31.15.41.15.51.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.01.7.01.7.11.8.01.9.02.0.02.0.12.0.22.0.32.0.42.1.02.1.12.1.22.1.32.1.42.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.4 |
2.7.2 |
tensorflow-gpuPyPI |
before 2.7.2, 2.8.0 up to 2.8.1, 2.9.0 up to 2.9.1, plus listed versions 0.12.00.12.11.0.01.0.11.1.0 Show 45 moreShow less1.10.01.10.11.11.01.12.01.12.21.12.31.13.11.13.21.14.01.15.01.15.21.15.31.15.41.15.51.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.01.7.01.7.11.8.01.9.02.0.02.0.12.0.22.0.32.0.42.1.02.1.12.1.22.1.32.1.42.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.4 |
2.7.22.8.12.9.1 |
tensorflowPyPI |
before 2.7.2, 2.8.0 up to 2.8.1, 2.9.0 up to 2.9.1, plus listed versions 0.12.00.12.11.0.01.0.11.1.0 Show 45 moreShow less1.10.01.10.11.11.01.12.01.12.21.12.31.13.11.13.21.14.01.15.01.15.21.15.31.15.41.15.51.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.01.7.01.7.11.8.01.9.02.0.02.0.12.0.22.0.32.0.42.1.02.1.12.1.22.1.32.1.42.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.4 |
2.7.22.8.12.9.1 |
tensorflow-cpuPyPI |
before 2.7.2, 2.8.0 up to 2.8.1, 2.9.0 up to 2.9.1, plus listed versions 1.15.02.1.02.1.12.1.22.1.3 Show 27 moreShow less2.1.42.2.02.2.12.2.22.2.32.3.02.3.12.3.22.3.32.3.42.4.02.4.12.4.22.4.32.4.42.5.02.5.12.5.22.5.32.6.02.6.12.6.22.6.32.6.42.6.52.7.02.7.1 |
2.7.22.8.12.9.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-35960 is a medium vulnerability (CVSS 5.9) in Google Tensorflow, published September 16, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.70%, the 53rd percentile. Fixed in tensorflow 2.7.2.
References
github.com/tensorflow/tensorflow/security/advisories/GHSA-v5xg-3q2c-c2r4
github.com/tensorflow/tensorflow/commit/b5f6fbfba76576202b72119897561e3bd4f179c7
github.com/tensorflow/tensorflow/blob/c8ba76d48567aed347508e0552a257641931024d/tensorflow/core/kernels/list_kernels.cc
github.com/tensorflow/tensorflow/releases/tag/v2.10.0
nvd.nist.gov/vuln/detail/CVE-2022-35960
github.com/advisories/GHSA-v5xg-3q2c-c2r4
Show 64 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35960.json
github.com/tensorflow/tensorflow
pypi.org/project/tensorflow-gpu
pypi.org/project/tensorflow
pypi.org/project/tensorflow-cpu
suse.com/security/cve/CVE-2022-35934
suse.com/security/cve/CVE-2022-35935
suse.com/security/cve/CVE-2022-35937
suse.com/security/cve/CVE-2022-35938
suse.com/security/cve/CVE-2022-35939
suse.com/security/cve/CVE-2022-35940
suse.com/security/cve/CVE-2022-35941
suse.com/security/cve/CVE-2022-35952
suse.com/security/cve/CVE-2022-35959
suse.com/security/cve/CVE-2022-35960
suse.com/security/cve/CVE-2022-35963
suse.com/security/cve/CVE-2022-35964
suse.com/security/cve/CVE-2022-35965
suse.com/security/cve/CVE-2022-35966
suse.com/security/cve/CVE-2022-35967
suse.com/security/cve/CVE-2022-35968
suse.com/security/cve/CVE-2022-35969
suse.com/security/cve/CVE-2022-35970
suse.com/security/cve/CVE-2022-35971
suse.com/security/cve/CVE-2022-35972
suse.com/security/cve/CVE-2022-35973
suse.com/security/cve/CVE-2022-35974
suse.com/security/cve/CVE-2022-35979
suse.com/security/cve/CVE-2022-35981
suse.com/security/cve/CVE-2022-35982
suse.com/security/cve/CVE-2022-35983
suse.com/security/cve/CVE-2022-35984
suse.com/security/cve/CVE-2022-35985
suse.com/security/cve/CVE-2022-35986
suse.com/security/cve/CVE-2022-35987
suse.com/security/cve/CVE-2022-35988
suse.com/security/cve/CVE-2022-35989
suse.com/security/cve/CVE-2022-35990
suse.com/security/cve/CVE-2022-35991
suse.com/security/cve/CVE-2022-35992
suse.com/security/cve/CVE-2022-35993
suse.com/security/cve/CVE-2022-35994
suse.com/security/cve/CVE-2022-35995
suse.com/security/cve/CVE-2022-35996
suse.com/security/cve/CVE-2022-35997
suse.com/security/cve/CVE-2022-35998
suse.com/security/cve/CVE-2022-35999
suse.com/security/cve/CVE-2022-36000
suse.com/security/cve/CVE-2022-36001
suse.com/security/cve/CVE-2022-36002
suse.com/security/cve/CVE-2022-36003
suse.com/security/cve/CVE-2022-36004
suse.com/security/cve/CVE-2022-36005
suse.com/security/cve/CVE-2022-36011
suse.com/security/cve/CVE-2022-36012
suse.com/security/cve/CVE-2022-36013
suse.com/security/cve/CVE-2022-36014
suse.com/security/cve/CVE-2022-36015
suse.com/security/cve/CVE-2022-36016
suse.com/security/cve/CVE-2022-36017
suse.com/security/cve/CVE-2022-36018
suse.com/security/cve/CVE-2022-36019
suse.com/security/cve/CVE-2022-36026
suse.com/security/cve/CVE-2022-36027
Left out here: 82 versions. The JSON record has them.