Skip to content
Fencer Vulns
medium 5.5

CVE-2022-29205 json

Segfault due to missing support for quantized types in TensorFlow

published 2022-05-20 4 y ago modified 2026-09-08 2 mo ago also BIT-tensorflow-2022-29205 , EUVD-2022-2494 , GHSA-54ch-gjq5-4976 , PYSEC-2026-3104 , PYSEC-2026-3274 , PYSEC-2026-950

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

Summary

TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, there is a potential for segfault / denial of service in TensorFlow by calling `tf.compat.v1.*` ops which don't yet have support for quantized types, which was added after migration to TensorFlow 2.x. In these scenarios, since the kernel is missing, a `nullptr` value is passed to `ParseDimensionValue` for the `py_value` argument. Then, this is dereferenced, resulting in segfault. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

Patch / fix

  • pypi tensorflow 2.6.4, 2.7.2, 2.8.1
  • pypi tensorflow-cpu 2.6.4, 2.7.2, 2.8.1
  • pypi tensorflow-gpu 2.6.4, 2.7.2, 2.8.1
  • bitnami tensorflow 2.6.4, 2.7.2, 2.8.1
  • google tensorflow 2.6.4, 2.7.2

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/tensorflow/tensorflow/security/advisories/GHSA-54ch-gjq5-4976 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi tensorflow
<2.6.4
>=2.7.0, <2.7.2
>=2.8.0, <2.8.1
2.6.4
2.7.2
2.8.1
pypi tensorflow-cpu
<2.6.4
>=2.7.0, <2.7.2
>=2.8.0, <2.8.1
2.6.4
2.7.2
2.8.1
pypi tensorflow-gpu
<2.6.4
>=2.7.0, <2.7.2
>=2.8.0, <2.8.1
2.6.4
2.7.2
2.8.1
bitnami tensorflow
<2.6.4
>=2.7.0, <2.7.2
>=2.8.0, <2.8.1
2.6.4
2.7.2
2.8.1

Affected products

  • tensorflow tensorflow

Classification

Weakness
  • CWE-908 Use of Uninitialized Resource
  • CWE-476 NULL Pointer Dereference

References

Sources

Fencer Vulns 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.