CVE-2020-5215
CVE-2020-5215 — Segmentation faultin TensorFlow when converting a Python string to tf.float16
In TensorFlow before 1.15.2 and 2.0.1, converting a string (from Python) to a tf.float16 value results in a segmentation fault in eager mode as the format checks for this use case are only in the graph mode. This issue can lead to denial of service in inference/training where a malicious attacker can send a data point which contains a string instead of a tf.float16 value. Similar effects can be obtained by manipulating saved models and checkpoints whereby replacing a scalar tf.float16 value with a scalar string will trigger this issue due to automatic conversions. This can be easily reproduced by tf.constant("hello", tf.float16), if eager execution is enabled. This issue is patched in TensorFlow 1.15.1 and 2.0.1 with this vulnerability patched. TensorFlow 2.1.0 was released after we fixed the issue, thus it is not affected. Users are encouraged to switch to TensorFlow 1.15.1, 2.0.1 or…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.0
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.0 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-754
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /training.
References
4 on the record
- github.com/tensorflow/tensorflow/security/advisories/GHSA-977j-xj7q-2jr9
x_refsource_CONFIRM
- github.com/tensorflow/tensorflow/commit/5ac1b9e24ff6afc465756edf845d2e9660bd34bf
x_refsource_MISC
- github.com/tensorflow/tensorflow/releases/tag/v1.15.2
x_refsource_MISC
- github.com/tensorflow/tensorflow/releases/tag/v2.0.1
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-136716 Drupal core - Highly critical - Access bypass - SA-CORE-2026-019CVSS 9.8 · CISA KEV
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2023-41993 Apple Multiple Products WebKit Code Execution VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2023-41992 Apple Multiple Products Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2021-3560 Red Hat Polkit Incorrect Authorization VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-3393 PAN-OS: Firewall Denial of Service (DoS) in DNS Security Using a Specially Crafted PacketCVSS 7.5 · CISA KEV
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-754other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.