CVE-2018-21233
MEDIUM 6.5CVSS 3.1Out-of-bounds read in TensorFlow possibly causing disclosure of the contents of process memory.
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.
- Published
- 4 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- GHSA-h98h-8mxr-m8gxPYSEC-2020-253PYSEC-2020-269PYSEC-2020-304
- Sources
- NVDJSONOSV GHSA-h98h-8mxr-m8gxJSONOSV PYSEC-2020-253JSONOSV PYSEC-2020-269JSONOSV PYSEC-2020-304JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* |
< 1.7.0 | 1.7.0 | |
| OSV | PyPI | tensorflow | < 1.7.0 | 1.7.0 |
| OSV | PyPI | tensorflow-gpu | < 1.7.0 | 1.7.0 |
| OSV | PyPI | tensorflow-cpu | < 1.7.0 | 1.7.0 |
References
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2018-001.md · Patch, Third Party Advisory, WEB, ADVISORY
- https://github.com/tensorflow/tensorflow/commit/49f73c55d56edffebde4bca4a407ad69c1cae433 · Patch, Third Party Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2018-21233 · ADVISORY
- https://github.com/advisories/GHSA-h98h-8mxr-m8gx · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-269.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-304.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-253.yaml · WEB
- https://github.com/tensorflow/tensorflow · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 4 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 May 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2020)