# CVE-2022-41889: Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-18T00:00:00.000Z
- Modified: 2026-09-08T08:48:20.455Z
- Also known as: GHSA-xxcj-rhqg-m46g, BIT-TENSORFLOW-2022-41889, PYSEC-2026-1050, PYSEC-2026-3262, PYSEC-2026-3384
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: >= 2.10.0, < 2.10.1; >= 2.9.0, < 2.9.3; < 2.8.4
- tensorflow (PyPI): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- tensorflow-cpu (PyPI): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- tensorflow-gpu (PyPI): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- google tensorflow: before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1
- tensorflow (Bitnami): before 2.8.4; from 2.9.0 before 2.9.3; from 2.10.0 before 2.10.1

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xxcj-rhqg-m46g> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/e9e95553e5411834d215e6770c81a83a3d0866ce> (advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/generate_box_proposals_op.cu.cc> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-41889> (advisory, web)
- <https://github.com/tensorflow/tensorflow> (package)
- <https://pypi.org/project/tensorflow-gpu> (package)
- <https://github.com/advisories/GHSA-xxcj-rhqg-m46g> (advisory)
- <https://pypi.org/project/tensorflow> (package)
- <https://pypi.org/project/tensorflow-cpu> (package)

## Sources

- CVE List: [CVE-2022-41889](https://www.cve.org/CVERecord?id=CVE-2022-41889), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-xxcj-rhqg-m46g](https://github.com/advisories/GHSA-xxcj-rhqg-m46g), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2022-41889](https://nvd.nist.gov/vuln/detail/CVE-2022-41889), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1050](https://osv.dev/vulnerability/PYSEC-2026-1050), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3262](https://osv.dev/vulnerability/PYSEC-2026-3262), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3384](https://osv.dev/vulnerability/PYSEC-2026-3384), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2022-41889](https://osv.dev/vulnerability/BIT-TENSORFLOW-2022-41889), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-41889 · Whole record: https://cve.day/CVE-2022-41889.json · Rebuilt by cve.day 2026-11-25T22:58:16.629Z
