# CVE-2022-23593: Segfault in `simplifyBroadcast` in Tensorflow

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/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.90%, higher than 60% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-04T22:32:08.000Z
- Modified: 2026-09-08T08:46:41.076Z
- Also known as: GHSA-gwcx-jrx4-92w2, BIT-TENSORFLOW-2022-23593, PYSEC-2022-102, PYSEC-2022-157, PYSEC-2026-3193
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Tensorflow is an Open Source Machine Learning Framework. The `simplifyBroadcast` function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service), if called with scalar shapes. If all shapes are scalar, then `maxRank` is 0, so we build an empty `SmallVector`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: >= 2.7.0, < 2.8.0
- tensorflow (PyPI): from 2.8.0-rc0 before 2.8.0
- tensorflow-cpu (PyPI): from 2.8.0-rc0 before 2.8.0; before 35f0fabb4c178253a964d7aabdbb15c6a398b69a; from 2.7.0 before 2.8.0
- tensorflow-gpu (PyPI): from 2.8.0-rc0 before 2.8.0; before 35f0fabb4c178253a964d7aabdbb15c6a398b69a; from 2.7.0 before 2.8.0
- google tensorflow: from 2.7.0 before 2.8.0
- tensorflow (Bitnami): from 2.7.0 before 2.8.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/compiler/mlir/tfrt/jit/transforms/tf_cpurt_symbolic_shape_optimization.cc#L149-L205> (exploit, advisory, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-gwcx-jrx4-92w2> (advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/35f0fabb4c178253a964d7aabdbb15c6a398b69a> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23593> (advisory, web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-102.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-157.yaml> (web)
- <https://github.com/tensorflow/tensorflow> (web)
- <https://pypi.org/project/tensorflow> (package)
- <https://github.com/advisories/GHSA-gwcx-jrx4-92w2> (advisory)

## Sources

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

---

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