CVE-2018-8825
Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
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
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
- Record
CVE-2018-8825- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
- Record
CVE-2018-8825- Updated
- 2026-11-02
EUVDEUVD-2019-0141 No score
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
- Record
EUVD-2019-0141- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-frxx-2m33-6wcr
8.7
Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local). Users passing a malformed or malicious version of a TFLite graph into TOCO will cause TOCO to crash or cause a buffer overflow, potentially allowing malicious code to be executed.
- Record
GHSA-frxx-2m33-6wcr- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
8.8
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
- Record
CVE-2018-8825- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-frxx-2m33-6wcr
8.7
Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local). Users passing a malformed or malicious version of a TFLite graph into TOCO will cause TOCO to crash or cause a buffer overflow, potentially allowing malicious code to be executed.
- Record
GHSA-frxx-2m33-6wcr- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVPYSEC-2019-208 No score
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
- Record
PYSEC-2019-208- Updated
- 2026-11-02
OSVPYSEC-2019-226 No score
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
- Record
PYSEC-2019-226- Updated
- 2026-11-02
OSVPYSEC-2019-233 No score
Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local).
- Record
PYSEC-2019-233- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tensorflowPyPI |
1.5.0 up to 1.7.1 | 1.7.1 |
tensorflow-gpuPyPI |
1.5.0 up to 1.7.1 | 1.7.1 |
tensorflowPyPI |
1.5.0 up to 1.7.1, plus listed versions 1.5.11.6.01.7.0 |
1.7.1 |
tensorflow-gpuPyPI |
1.5.0 up to 1.7.1, plus listed versions 1.5.11.6.01.7.0 |
1.7.1 |
tensorflowPyPI |
before 1.7.1, plus listed versions 0.12.00.12.0rc00.12.0rc10.12.11.0.0 Show 28 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.01.7.0rc01.7.0rc1 |
1.7.1 |
tensorflow-cpuPyPI |
before 1.7.1 | 1.7.1 |
tensorflow-gpuPyPI |
before 1.7.1, 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.01.7.0 |
1.7.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-8825 is a high vulnerability (CVSS 8.8) in Google Tensorflow, published April 23, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.75%, the 55th percentile. Fixed in tensorflow 1.7.1.
References
github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2018-003.md
nvd.nist.gov/vuln/detail/CVE-2018-8825
github.com/tensorflow/tensorflow/commit/41335abb46f80ca644b5738550daef6136ba5476
github.com/tensorflow/tensorflow/commit/8badd11d875a826bd318ed439909d5c47a7fb811
github.com/advisories/GHSA-frxx-2m33-6wcr
github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2019-226.yaml
github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2019-233.yaml
github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2019-208.yaml
github.com/tensorflow/tensorflow