Moderate severityNVD Advisory· Published Nov 18, 2022· Updated Apr 22, 2025
Segfault in `CompositeTensorVariantToComponents` in Tensorflow
CVE-2022-41909
Description
TensorFlow is an open source platform for machine learning. An input encoded that is not a valid CompositeTensorVariant tensor will trigger a segfault in tf.raw_ops.CompositeTensorVariantToComponents. We have patched the issue in GitHub commits bf594d08d377dc6a3354d9fdb494b32d45f91971 and 660ce5a89eb6766834bdc303d2ab3902aef99d3d. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tensorflowPyPI | < 2.8.4 | 2.8.4 |
tensorflowPyPI | >= 2.9.0, < 2.9.3 | 2.9.3 |
tensorflowPyPI | >= 2.10.0, < 2.10.1 | 2.10.1 |
tensorflow-cpuPyPI | < 2.8.4 | 2.8.4 |
tensorflow-gpuPyPI | < 2.8.4 | 2.8.4 |
tensorflow-cpuPyPI | >= 2.9.0, < 2.9.3 | 2.9.3 |
tensorflow-gpuPyPI | >= 2.9.0, < 2.9.3 | 2.9.3 |
tensorflow-cpuPyPI | >= 2.10.0, < 2.10.1 | 2.10.1 |
tensorflow-gpuPyPI | >= 2.10.0, < 2.10.1 | 2.10.1 |
Affected products
5- osv-coords4 versions
< 2.8.4+ 3 more
- (no CPE)range: < 2.8.4
- (no CPE)range: < 2.8.4
- (no CPE)range: < 2.8.4
- (no CPE)range: < 2.8.4
- Range: >= 2.10.0, < 2.10.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-rjx6-v474-2ch9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-41909ghsaADVISORY
- github.com/tensorflow/tensorflow/blob/master/tensorflow/python/lib/core/py_func.ccghsaWEB
- github.com/tensorflow/tensorflow/commit/660ce5a89eb6766834bdc303d2ab3902aef99d3dghsaWEB
- github.com/tensorflow/tensorflow/commit/bf594d08d377dc6a3354d9fdb494b32d45f91971ghsaWEB
- github.com/tensorflow/tensorflow/security/advisories/GHSA-rjx6-v474-2ch9ghsaWEB
News mentions
0No linked articles in our index yet.