# CVE-2022-41889: Segfault via invalid attributes in \`pywrap\_tfe\_src.cc\` in Tensorflow

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-18 · Modified: 2025-04-22
- Aliases: GHSA-xxcj-rhqg-m46g, BIT-tensorflow-2022-41889, PYSEC-2026-1050, PYSEC-2026-3262, PYSEC-2026-3384
- Record: https://cvemate.com/vulnerability/CVE-2022-41889 · JSON: https://cvemate.com/vulnerability/CVE-2022-41889/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.569%, percentile 48.544%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- google tensorflow: \< 2.8.4 \| ≥ 2.9.0, \< 2.9.3 \| ≥ 2.10.0, \< 2.10.1
- PyPI tensorflow (PyPI): \< 2.8.4 \| ≥ 2.9.0, \< 2.9.3 \| ≥ 2.10.0, \< 2.10.1
- PyPI tensorflow-cpu (PyPI): \< 2.8.4 \| ≥ 2.9.0, \< 2.9.3 \| ≥ 2.10.0, \< 2.10.1
- PyPI tensorflow-gpu (PyPI): \< 2.8.4 \| ≥ 2.9.0, \< 2.9.3 \| ≥ 2.10.0, \< 2.10.1
- tensorflow tensorflow: ≥ 2.10.0, \< 2.10.1 \| ≥ 2.9.0, \< 2.9.3 \| \< 2.8.4

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xxcj-rhqg-m46g>
- <https://github.com/tensorflow/tensorflow/commit/e9e95553e5411834d215e6770c81a83a3d0866ce>
- <https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/generate_box_proposals_op.cu.cc>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41889>
- <https://github.com/tensorflow/tensorflow>
- <https://pypi.org/project/tensorflow-gpu>
- <https://github.com/advisories/GHSA-xxcj-rhqg-m46g>
- <https://pypi.org/project/tensorflow>
- <https://pypi.org/project/tensorflow-cpu>

---

Data as of 2026-12-05T08:03:24.855Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
