Every CVE Search/ Get API key

CVE-2018-21233

Out-of-bounds read in TensorFlow possibly causing disclosure of the contents of process memory.

6.5 MediumFix available

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

0.59%Up 0.3 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS 2.0
4.3 MediumAV: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 HighCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
tensorflow
PyPI
before 1.7.0
1.7.0
tensorflow-gpu
PyPI
before 1.7.0
1.7.0
tensorflow
PyPI
before 1.7.0, plus listed versions
0.12.00.12.11.0.01.0.11.1.0
Show 8 moreShow less
1.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.0
1.7.0
tensorflow-gpu
PyPI
before 1.7.0, plus listed versions
0.12.00.12.11.0.01.0.11.1.0
Show 8 moreShow less
1.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.0
1.7.0
tensorflow
PyPI
before 1.7.0, plus listed versions
0.12.00.12.0rc00.12.0rc10.12.11.0.0
Show 27 moreShow less
1.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-cpu
PyPI
before 1.7.0
1.7.0
tensorflow-gpu
PyPI
before 1.7.0, plus listed versions
0.12.00.12.11.0.01.0.11.1.0
Show 9 moreShow less
1.2.01.2.11.3.01.4.01.4.11.5.01.5.11.6.00.5.0
1.7.0

History

History
RecordedChangedSources
facts
aliasesEUVD
first indexedCVE 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

MoveEnter Open