CVE-2018-21233Google Tensorflow
Medium 6.5 No auth needed
Follow: this CVE · Google · Google Tensorflow We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 50
- Auth required
- No
- Published
- May 4, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
TensorFlow before 1.7.0 has an integer overflow that causes an out-of-bounds read, possibly causing disclosure of the contents of process memory. This occurs in the DecodeBmp feature of the BMP decoder in core/kernels/decode_bmp_op.cc.
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 |
< 1.7.0 |
1.7.0 |
pip install "tensorflow>=1.7.0" |
| PyPI | tensorflow |
< 1.7.0 |
1.7.0 |
pip install "tensorflow>=1.7.0" |
| PyPI | tensorflow-cpu |
< 1.7.0 |
1.7.0 |
pip install "tensorflow-cpu>=1.7.0" |
| PyPI | tensorflow-gpu |
< 1.7.0 |
1.7.0 |
pip install "tensorflow-gpu>=1.7.0" |
| PyPI | tensorflow-gpu |
< 1.7.0 |
1.7.0 |
pip install "tensorflow-gpu>=1.7.0" |
Per OSV / GitHub Advisories (GHSA-h98h-8mxr-m8gx, PYSEC-2020-253, PYSEC-2020-269, PYSEC-2020-304). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tensorflow | < 1.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory