CVE-2018-21233 json
Out-of-bounds read in TensorFlow possibly causing disclosure of the contents of process memory.
published 2020-05-04 6 y ago modified 2026-06-17 4 mo ago also GHSA-h98h-8mxr-m8gx , PYSEC-2020-253 , PYSEC-2020-269 , PYSEC-2020-304 , EUVD-2020-0185
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi tensorflow 1.7.0
- pypi tensorflow-gpu 1.7.0
- pypi tensorflow-cpu 1.7.0
- google tensorflow 1.7.0
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | tensorflow | <1.7.0 |
1.7.0 |
| pypi | tensorflow-gpu | <1.7.0 |
1.7.0 |
| pypi | tensorflow-cpu | <1.7.0 |
1.7.0 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/tensorflow/tensorflow/commit/49f73c55d56edffebde4bca4a407ad69c1cae433
web, patch, third-party-advisory
-
github.com
/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2018-001.md
web, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-21233
advisory
-
github.com
/advisories/GHSA-h98h-8mxr-m8gx
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-269.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-304.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-253.yaml
web
-
github.com
/tensorflow/tensorflow
package
Sources
- CVE List CVE-2018-21233
- GitHub Advisory GHSA-h98h-8mxr-m8gx
- NVD CVE-2018-21233
- OSV PYSEC-2020-269
- OSV PYSEC-2020-253
- OSV PYSEC-2020-304
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.