CVE-2020-15213
CVE-2020-15213 — Denial of service in tensorflow-lite
In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger a denial of service by causing an out of memory allocation in the implementation of segment sum. Since code uses the last element of the tensor holding them to determine the dimensionality of output tensor, attackers can use a very large value to trigger a large allocation. The issue is patched in commit 204945b19e44b57906c9344c0d00120eeeae178a and is released in TensorFlow versions 2.2.1, or 2.3.1. A potential workaround would be to add a custom `Verifier` to limit the maximum value in the segment ids tensor. This only handles the case when the segment ids are stored statically in the model, but a similar validation could be done if the segment ids are generated at runtime, between inference steps. However, if the segment ids are generated as outputs of a tensor during inference steps, then there…
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
4.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 |
|---|---|---|---|---|---|
| 4.0 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-119
- CWE-770
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1498.001Network Denial of Service: Direct Network Flood
- T1499Endpoint Denial of Service
- T1499.003Endpoint Denial of Service: Application Exhaustion Flood
References
3 on the record
- github.com/tensorflow/tensorflow/releases/tag/v2.3.1
x_refsource_MISC
- github.com/tensorflow/tensorflow/commit/204945b19e44b57906c9344c0d00120eeeae178a
x_refsource_MISC
- github.com/tensorflow/tensorflow/security/advisories/GHSA-hjmq-236j-8m87
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2020-0796 Microsoft SMBv3 Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-8439 Adobe Flash Player Dereferenced Pointer VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2008-4250 Microsoft Windows Buffer Overflow VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-8452 Memory overflow vulnerability leading to unpredictable or erroneous behavior and Denial of ServiceCVSS 9.8 · CISA KEV
- CVE-2025-53521 BigIP APM VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2025-31200 Apple Multiple Products Memory Corruption VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Tensorflowevery CVE for this vendor
- CWE-119other 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.