CVE-2018-21233
Out-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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2018-21233- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-21233- Updated
- 2026-11-02
EUVDEUVD-2020-0185 No score
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.
- Record
EUVD-2020-0185- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h98h-8mxr-m8gx
7.1
Out-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.
- Record
GHSA-h98h-8mxr-m8gx- CVSS 4.0
- 7.1 High
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 - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2018-21233- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-h98h-8mxr-m8gx
7.1
Out-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.
- Record
GHSA-h98h-8mxr-m8gx- CVSS 4.0
- 7.1 High
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 - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVPYSEC-2020-253 No score
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.
- Record
PYSEC-2020-253- Updated
- 2026-11-02
OSVPYSEC-2020-269 No score
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.
- Record
PYSEC-2020-269- Updated
- 2026-11-02
OSVPYSEC-2020-304 No score
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.
- Record
PYSEC-2020-304- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tensorflowPyPI |
before 1.7.0 | 1.7.0 |
tensorflow-gpuPyPI |
before 1.7.0 | 1.7.0 |
tensorflowPyPI |
before 1.7.0, plus listed versions 0.12.00.12.11.0.01.0.11.1.0 Show 8 moreShow less1.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.0 |
1.7.0 |
tensorflow-gpuPyPI |
before 1.7.0, plus listed versions 0.12.00.12.11.0.01.0.11.1.0 Show 8 moreShow less1.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.0 |
1.7.0 |
tensorflowPyPI |
before 1.7.0, plus listed versions 0.12.00.12.0rc00.12.0rc10.12.11.0.0 Show 27 moreShow less1.0.11.1.01.1.0rc01.1.0rc11.1.0rc21.2.01.2.0rc01.2.0rc11.2.0rc21.2.11.3.01.3.0rc01.3.0rc11.3.0rc21.4.01.4.0rc01.4.0rc11.4.11.5.01.5.0rc01.5.0rc11.5.11.6.01.6.0rc01.6.0rc11.7.0rc01.7.0rc1 |
1.7.0 |
tensorflow-cpuPyPI |
before 1.7.0 | 1.7.0 |
tensorflow-gpuPyPI |
before 1.7.0, plus listed versions 0.12.00.12.11.0.01.0.11.1.0 Show 9 moreShow less1.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.00.5.0 |
1.7.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-21233 is a medium vulnerability (CVSS 6.5) in Google Tensorflow, published May 4, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.59%, the 48th percentile. Fixed in tensorflow 1.7.0.
References
github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2018-001.md
github.com/tensorflow/tensorflow/commit/49f73c55d56edffebde4bca4a407ad69c1cae433
nvd.nist.gov/vuln/detail/CVE-2018-21233
github.com/advisories/GHSA-h98h-8mxr-m8gx
github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-269.yaml
github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-304.yaml
github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-253.yaml
github.com/tensorflow/tensorflow