CVE-2020-15211: Out of bounds access in tensorflow-lite
Noroxi assessment
Priority: Monitor (action score 19/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.91% (FIRST EPSS); higher than 60.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: tensorflow2 (openSUSE:Leap 15.2) 2.1.2-lp152.7.3.1; tensorflow2_2_1_2-gnu-hpc (openSUSE:Leap 15.2) 2.1.2-lp152.7.3.1; tensorflow2_2_1_2-gnu-openmpi2-hpc (openSUSE:Leap 15.2) 2.1.2-lp152.7.3.1.
Low priority for now. Upgrade to tensorflow2 (openSUSE:Leap 15.2) 2.1.2-lp152.7.3.1; tensorflow2_2_1_2-gnu-hpc (openSUSE:Leap 15.2) 2.1.2-lp152.7.3.1; tensorflow2_2_1_2-gnu-openmpi2-hpc (openSUSE:Leap 15.2) 2.1.2-lp152.7.3.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In TensorFlow Lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, saved models in the flatbuffer format use a double indexing scheme: a model has a set of subgraphs, each subgraph has a set of operators and each operator has a set of input/output tensors. The flatbuffer format uses indices for the tensors, indexing into an array of tensors that is owned by the subgraph. This results in a pattern of double array indexing when trying to get the data of each tensor. However, some operators can have some tensors be optional. To handle this scenario, the flatbuffer model uses a negative `-1` value as index for these tensors. This results in special casing during validation at model loading time. Unfortunately, this means that the `-1` index is a valid tensor index for any operator, including those that don't expect optional inputs and including for output tensors. Thus, this allows writing and reading from outside the bounds of heap allocated arrays, although only at a specific offset from the start of these arrays. This results in both read and write gadgets, albeit very limited in scope. The issue is patched in several commits (46d5b0852, 00302787b7, e11f5558, cd31fd0ce, 1970c21, and fff2c83), and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1. A potential workaround would be to add a custom `Verifier` to the model loading code to ensure that only operators which accept optional inputs use the `-1` special value and only for the tensors that they expect to be optional. Since this allow-list type approach is erro-prone, we advise upgrading to the patched code.
- Published
- Sep 25, 2020
- Updated
- Jun 16, 2026
- EPSS
- 0.9% · 60th percentile
- CWE
- CWE-125
Report tools
Action score
19
Monitor
Low priority for now.
- CVSS
- 19 / 40 · 4.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.9%
CNA vs NVD score
- NVD
- 4.8
- CNA · GitHub_M
- 4.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- google tensorflowbefore 1.15.4
- google tensorflow2.0.0 and later · before 2.0.3
- google tensorflow2.1.0 and later · before 2.1.2
- google tensorflow2.2.0 and later · before 2.2.1
- google tensorflow2.3.0 and later · before 2.3.1
- opensuse leap15.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
tensorflow tensorflow
- < 1.15.4, >= 2.0.0, < 2.0.3, >= 2.1.0, < 2.1.2, >= 2.2.0, < 2.2.1, >= 2.3.0, < 2.3.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| openSUSE:Leap 15.2 | tensorflow2 | before 2.1.2-lp152.7.3.1 | 2.1.2-lp152.7.3.1 |
| openSUSE:Leap 15.2 | tensorflow2_2_1_2-gnu-hpc | before 2.1.2-lp152.7.3.1 | 2.1.2-lp152.7.3.1 |
| openSUSE:Leap 15.2 | tensorflow2_2_1_2-gnu-openmpi2-hpc | before 2.1.2-lp152.7.3.1 | 2.1.2-lp152.7.3.1 |
| openSUSE:Leap 15.2 | tensorflow2-lite | before 2.1.2-lp152.7.3.1 | 2.1.2-lp152.7.3.1 |
| PyPI | tensorflow | from 2.0.0 · before 2.0.3 | 2.0.3 |
| PyPI | tensorflow | from 2.1.0 · before 2.1.2 | 2.1.2 |
| PyPI | tensorflow | from 2.2.0 · before 2.2.1 | 2.2.1 |
| PyPI | tensorflow | from 2.3.0 · before 2.3.1 | 2.3.1 |
| PyPI | tensorflow | before 1.15.4 | 1.15.4 |
| PyPI | tensorflow-cpu | from 2.0.0 · before 2.0.3 | 2.0.3 |
| PyPI | tensorflow-cpu | from 2.1.0 · before 2.1.2 | 2.1.2 |
| PyPI | tensorflow-cpu | from 2.2.0 · before 2.2.1 | 2.2.1 |
| PyPI | tensorflow-cpu | from 2.3.0 · before 2.3.1 | 2.3.1 |
| PyPI | tensorflow-cpu | before 1.15.4 | 1.15.4 |
| PyPI | tensorflow-gpu | from 2.0.0 · before 2.0.3 | 2.0.3 |
| PyPI | tensorflow-gpu | from 2.1.0 · before 2.1.2 | 2.1.2 |
| PyPI | tensorflow-gpu | from 2.2.0 · before 2.2.1 | 2.2.1 |
| PyPI | tensorflow-gpu | from 2.3.0 · before 2.3.1 | 2.3.1 |
| PyPI | tensorflow-gpu | before 1.15.4 | 1.15.4 |
Same product
google: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-25668TensorFlow vulnerable to heap out-of-buffer read in the QuantizeAndDequantize operation39Monitor
- CVE-2023-25664TensorFlow vulnerable to Heap Buffer Overflow in AvgPoolGrad39Monitor
- CVE-2022-41900FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow39Monitor
Published before and after this one in the same product
- ← EarlierCVE-2020-15209Sep 25, 2020 · Null pointer dereference in tensorflow-lite23Monitor
- ← EarlierCVE-2020-15210Sep 25, 2020 · Segmentation fault in tensorflow-lite26Monitor
- Later →CVE-2020-15212Sep 25, 2020 · Out of bounds access in tensorflow-lite34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| opensuse:tensorflow2 | 2.1.2-lp152.7.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:tensorflow2_2_1_2-gnu-hpc | 2.1.2-lp152.7.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:tensorflow2_2_1_2-gnu-openmpi2-hpc | 2.1.2-lp152.7.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:tensorflow2-lite | 2.1.2-lp152.7.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| PyPI:tensorflow | 1.15.4 | Package registry (OSV) |
| PyPI:tensorflow | 2.0.3 | Package registry (OSV) |
| PyPI:tensorflow | 2.1.2 | Package registry (OSV) |
| PyPI:tensorflow | 2.2.1 | Package registry (OSV) |
| PyPI:tensorflow | 2.3.1 | Package registry (OSV) |
| PyPI:tensorflow-cpu | 1.15.4 | Package registry (OSV) |
| PyPI:tensorflow-cpu | 2.0.3 | Package registry (OSV) |
| PyPI:tensorflow-cpu | 2.1.2 | Package registry (OSV) |
| PyPI:tensorflow-cpu | 2.2.1 | Package registry (OSV) |
| PyPI:tensorflow-cpu | 2.3.1 | Package registry (OSV) |
| PyPI:tensorflow-gpu | 1.15.4 | Package registry (OSV) |
| PyPI:tensorflow-gpu | 2.0.3 | Package registry (OSV) |
| PyPI:tensorflow-gpu | 2.1.2 | Package registry (OSV) |
| PyPI:tensorflow-gpu | 2.2.1 | Package registry (OSV) |
| PyPI:tensorflow-gpu | 2.3.1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-125 · Out-of-bounds ReadCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- github.com/tensorflow/tensorflow/commit/00302787b788c5ff04cb6f62aed5a74d936e86c0
- github.com/tensorflow/tensorflow/commit/1970c2158b1ffa416d159d03c3370b9a462aee35
- github.com/tensorflow/tensorflow/commit/46d5b0852528ddfd614ded79bccc75589f801bd9
- github.com/tensorflow/tensorflow/commit/cd31fd0ce0449a9e0f83dcad08d6ed7f1d6bef3f
- github.com/tensorflow/tensorflow/commit/e11f55585f614645b360563072ffeb5c3eeff162
- github.com/tensorflow/tensorflow/commit/fff2c8326280c07733828f990548979bdc893859
- github.com/tensorflow/tensorflow/releases/tag/v2.3.1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.