# CVE-2022-41888: Unckecked rank size in `tf.image.generate_bounding_box_proposals` in Tensorflow

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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.64%, higher than 51% of CVEs (2026-12-01)
- 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.450Z
- Also known as: GHSA-6x99-gv2v-q76v, BIT-TENSORFLOW-2022-41888, PYSEC-2026-3124, PYSEC-2026-3288, PYSEC-2026-962
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

TensorFlow is an open source platform for machine learning. When running on GPU, `tf.image.generate_bounding_box_proposals` receives a `scores` input that must be of rank 4 but is not checked. We have patched the issue in GitHub commit cf35502463a88ca7185a99daa7031df60b3c1c98. 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 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-6x99-gv2v-q76v> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/cf35502463a88ca7185a99daa7031df60b3c1c98> (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-41888> (advisory, web)
- <https://github.com/tensorflow/tensorflow> (package)
- <https://pypi.org/project/tensorflow> (package)
- <https://github.com/advisories/GHSA-6x99-gv2v-q76v> (advisory)
- <https://pypi.org/project/tensorflow-cpu> (package)
- <https://pypi.org/project/tensorflow-gpu> (package)

## Sources

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

---

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