CVE-2022-23593Google Tensorflow
High 7.5 No auth needed
Follow: this CVE · Google · Google Tensorflow We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Feb 4, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-754
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Tensorflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | tensorflow |
≥ 2.8.0-rc0 < 2.8.0 |
2.8.0 |
pip install "tensorflow>=2.8.0" |
| PyPI | tensorflow |
≥ 2.8.0-rc0 < 2.8.0 |
2.8.0 |
pip install "tensorflow>=2.8.0" |
| PyPI | tensorflow-cpu |
≥ 2.8.0-rc0 < 2.8.0 |
2.8.0 |
pip install "tensorflow-cpu>=2.8.0" |
| PyPI | tensorflow-cpu |
≥ 2.7.0 < 2.8.0 |
2.8.0 |
pip install "tensorflow-cpu>=2.8.0" |
| PyPI | tensorflow-gpu |
≥ 2.8.0-rc0 < 2.8.0 |
2.8.0 |
pip install "tensorflow-gpu>=2.8.0" |
| PyPI | tensorflow-gpu |
≥ 2.7.0 < 2.8.0 |
2.8.0 |
pip install "tensorflow-gpu>=2.8.0" |
Per OSV / GitHub Advisories (GHSA-gwcx-jrx4-92w2, PYSEC-2026-3193, PYSEC-2022-102, PYSEC-2022-157). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tensorflow | ≥ 2.7.0 < 2.8.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory