VYPR
High severity7.1NVD Advisory· Published May 20, 2022· Updated Jun 17, 2026

CVE-2022-29208

CVE-2022-29208

Description

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, the implementation of tf.raw_ops.EditDistance has incomplete validation. Users can pass negative values to cause a segmentation fault based denial of service. In multiple places throughout the code, one may compute an index for a write operation. However, the existing validation only checks against the upper bound of the array. Hence, it is possible to write before the array by massaging the input to generate negative values for loc. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
tensorflowPyPI
< 2.6.42.6.4
tensorflowPyPI
>= 2.7.0, < 2.7.22.7.2
tensorflowPyPI
>= 2.8.0, < 2.8.12.8.1
tensorflow-cpuPyPI
< 2.6.42.6.4
tensorflow-cpuPyPI
>= 2.7.0, < 2.7.22.7.2
tensorflow-cpuPyPI
>= 2.8.0, < 2.8.12.8.1
tensorflow-gpuPyPI
< 2.6.42.6.4
tensorflow-gpuPyPI
>= 2.7.0, < 2.7.22.7.2
tensorflow-gpuPyPI
>= 2.8.0, < 2.8.12.8.1

Affected products

13
  • Google/Tensorflow8 versions
    cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*+ 7 more
    • cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*range: <2.6.4
    • cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*
    • cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*
    • cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*
    • cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*
    • cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*
    • cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*
    • cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*
  • osv-coords4 versions
    < 2.6.4+ 3 more
    • (no CPE)range: < 2.6.4
    • (no CPE)range: < 2.6.4
    • (no CPE)range: < 2.6.4
    • (no CPE)range: < 2.6.4
  • Range: < 2.6.4

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.