Skip to content
Fencer Intel
medium 4.8

CVE-2022-41909 json

Segfault in `CompositeTensorVariantToComponents` in Tensorflow

published 3y ago modified 2mo ago also BIT-tensorflow-2022-41909 , EUVD-2022-7425 , GHSA-rjx6-v474-2ch9 , PYSEC-2026-1034 , PYSEC-2026-3238 , PYSEC-2026-3368

cvss
4.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 46%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi tensorflow 2.8.4, 2.9.3, 2.10.1
  • pypi tensorflow-cpu 2.8.4, 2.9.3, 2.10.1
  • pypi tensorflow-gpu 2.8.4, 2.9.3, 2.10.1
  • bitnami tensorflow 2.8.4, 2.9.3, 2.10.1
  • google tensorflow 2.8.4, 2.9.3
  • tensorflow CBL-Mariner 2.0 2.11.0-1

azure linux advisories AZL-11543

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2022-41909 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rjx6-v474-2ch9 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
GitHub 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi tensorflow
<2.8.4
>=2.9.0, <2.9.3
>=2.10.0, <2.10.1
2.8.4
2.9.3
2.10.1
pypi tensorflow-cpu
<2.8.4
>=2.9.0, <2.9.3
>=2.10.0, <2.10.1
2.8.4
2.9.3
2.10.1
pypi tensorflow-gpu
<2.8.4
>=2.9.0, <2.9.3
>=2.10.0, <2.10.1
2.8.4
2.9.3
2.10.1
bitnami tensorflow
<2.8.4
>=2.9.0, <2.9.3
>=2.10.0, <2.10.1
2.8.4
2.9.3
2.10.1

Affected products

  • tensorflow tensorflow

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-476 NULL Pointer Dereference

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.