5.9medium
`CHECK` failures in `FractionalAvgPoolGrad` in TensorFlow
- Severity
- 5.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-84jm-4cf3-9jfmBIT-TENSORFLOW-2022-35963PYSEC-2026-3133PYSEC-2026-3296PYSEC-2026-969
Description
TensorFlow is an open source platform for machine learning. The implementation of `FractionalAvgPoolGrad` does not fully validate the input `orig_input_tensor_shape`. This results in an overflow that results in a `CHECK` failure which can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 03a659d7be9a1154fdf5eeac221e5950fec07dad. 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| tensorflow tensorflow | < 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1 | CVE List |
| tensorflow (PyPI) | before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1 | GitHub Advisory Database, PyPA Advisory Database |
| tensorflow-cpu (PyPI) | before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1 | GitHub Advisory Database, PyPA Advisory Database |
| tensorflow-gpu (PyPI) | before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1 | GitHub Advisory Database, PyPA Advisory Database |
| google tensorflow | from 2.7.0 before 2.7.2, 2.8.0, 2.9.0, 2.10 | NVD |
| tensorflow (Bitnami) | from 2.7.0 before 2.7.2, from 2.8.0 up to 2.8.0, from 2.9.0 up to 2.9.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
TensorFlow is an open source platform for machine learning. The implementation of `FractionalAvgPoolGrad` does not fully validate the input `orig_input_tensor_shape`. This results in an overflow that results in a `CHECK` failure which can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 03a659d7be9a1154fdf5eeac221e5950fec07dad. 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.
GitHub Advisory Database
Impact
The implementation of FractionalAvgPoolGrad does not fully validate the input orig_input_tensor_shape. This results in an overflow that results in a CHECK failure which can be used to trigger a denial of service attack.
import tensorflow as tf
overlapping = True
orig_input_tensor_shape = tf.constant(-1879048192, shape=[4], dtype=tf.int64)
out_backprop = tf.constant([], shape=[0,0,0,0], dtype=tf.float64)
row_pooling_sequence = tf.constant(1, shape=[4], dtype=tf.int64)
col_pooling_sequence = tf.constant(1, shape=[4], dtype=tf.int64)
tf.raw_ops.FractionalAvgPoolGrad(orig_input_tensor_shape=orig_input_tensor_shape, out_backprop=out_backprop, row_pooling_sequence=row_pooling_sequence, col_pooling_sequence=col_pooling_sequence, overlapping=overlapping)
Patches
We have patched the issue in GitHub commit 03a659d7be9a1154fdf5eeac221e5950fec07dad.
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 Neophytos Christou, Secure Systems Labs, Brown University.
NVD (es)
TensorFlow es una plataforma de código abierto para el aprendizaje automático. La implementación de "FractionalAvgPoolGrad" no comprueba completamente la entrada "orig_input_tensor_shape". Esto resulta en un desbordamiento que resulta en un fallo de "CHECK" que puede ser usado para desencadenar un ataque de denegación de servicio. Hemos parcheado el problema en el commit 03a659d7be9a1154fdf5eeac221e5950fec07dad de GitHub. La corrección será incluida en TensorFlow versión 2.10.0. También seleccionaremos este compromiso en TensorFlow versión 2.9.1, TensorFlow versión 2.8.1, y TensorFlow versión 2.7.2, ya que estos también están afectados y todavía están en el rango admitido. No se presentan mitigaciones conocidas para este problema
References
| https://github.com/tensorflow/tensorflow/security/advisories/GHSA-84jm-4cf3-9jfm | advisory, patch, third-party-advisory, web | |
| https://github.com/tensorflow/tensorflow/commit/03a659d7be9a1154fdf5eeac221e5950fec07dad | advisory, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-35963 | advisory, web | |
| https://github.com/tensorflow/tensorflow | package | |
| https://github.com/tensorflow/tensorflow/releases/tag/v2.10.0 | web | |
| https://pypi.org/project/tensorflow | package | |
| https://github.com/advisories/GHSA-84jm-4cf3-9jfm | advisory | |
| https://pypi.org/project/tensorflow-cpu | package | |
| https://pypi.org/project/tensorflow-gpu | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-35963 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-84jm-4cf3-9jfm changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2022-35963 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3133 changed 2026-07-13 | CC-BY-4.0 |
| PyPA Advisory Database | PYSEC-2026-3296 changed 2026-07-13 | CC-BY-4.0 |
| PyPA Advisory Database | PYSEC-2026-969 changed 2026-07-13 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-TENSORFLOW-2022-35963 changed 2026-09-08 | Apache-2.0 |