Skip to main content
← All vulnerabilities
CVE-2022-41889PYSEC-2026-3262BIT-TENSORFLOW-2022-41889GHSA-XXCJ-RHQG-M46GPYSEC-2026-1050PYSEC-2026-3384

Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.10.1, 2.9.3, 2.8.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_volume_patches` by passing in quantized tensors as input `ksizes`. We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. 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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • tensorflow tensorflow

    From 2.10.0 · fixed in 2.10.1; From 2.9.0 · fixed in 2.9.3; fixed in 2.8.4

  • tensorflowPyPI

    fixed in 2.8.4; From 2.9.0 · fixed in 2.9.3; From 2.10.0 · fixed in 2.10.1

  • tensorflowPyPI

    fixed in 2.8.4

  • tensorflowPyPI

    From 2.9.0 · fixed in 2.9.3

  • tensorflowPyPI

    From 2.10.0 · fixed in 2.10.1

  • tensorflow-cpuPyPI

    fixed in 2.8.4

  • tensorflow-gpuPyPI

    fixed in 2.8.4

  • tensorflow-cpuPyPI

    From 2.9.0 · fixed in 2.9.3

  • tensorflow-gpuPyPI

    From 2.9.0 · fixed in 2.9.3

  • tensorflow-cpuPyPI

    From 2.10.0 · fixed in 2.10.1

  • tensorflow-gpuPyPI

    From 2.10.0 · fixed in 2.10.1

  • tensorflow-cpuPyPI

    fixed in 2.8.4; From 2.9.0 · fixed in 2.9.3; From 2.10.0 · fixed in 2.10.1

  • tensorflow-gpuPyPI

    fixed in 2.8.4; From 2.9.0 · fixed in 2.9.3; From 2.10.0 · fixed in 2.10.1

References 3

GitHub · tensorflow/tensorflow