CVE-2020-15209
MEDIUM 5.9CVSS 3.1Null pointer dereference in tensorflow-lite
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to have as input a tensor backed by a nullptr buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one. The runtime assumes that these buffers are written to before a possible read, hence they are initialized with nullptr. However, by changing the buffer index for a tensor and implicitly converting that tensor to be a read-write one, as there is nothing in the model that writes to it, we get a null pointer dereference. The issue is patched in commit 0b5662bc, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
- Published
- 25 Sep 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-476
- Also known as
- BIT-tensorflow-2020-15209GHSA-qh32-6jjc-qprmPYSEC-2020-132PYSEC-2020-289PYSEC-2020-324
- Sources
- NVDJSONOSV GHSA-qh32-6jjc-qprmJSONOSV PYSEC-2020-132JSONOSV PYSEC-2020-289JSONOSV PYSEC-2020-324JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* |
< 1.15.4 | 1.15.4 | |
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* |
>= 2.0.0, < 2.0.3 | 2.0.3 | |
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* |
>= 2.1.0, < 2.1.2 | 2.1.2 | |
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* |
>= 2.2.0, < 2.2.1 | 2.2.1 | |
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* |
>= 2.3.0, < 2.3.1 | 2.3.1 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* |
= 15.2 | |
| OSV | PyPI | tensorflow | < 1.15.4 | 1.15.4 |
| OSV | PyPI | tensorflow | >= 2.0.0, < 2.0.3 | 2.0.3 |
| OSV | PyPI | tensorflow | >= 2.1.0, < 2.1.2 | 2.1.2 |
| OSV | PyPI | tensorflow | >= 2.2.0, < 2.2.1 | 2.2.1 |
| OSV | PyPI | tensorflow | >= 2.3.0, < 2.3.1 | 2.3.1 |
| OSV | PyPI | tensorflow-cpu | < 1.15.4 | 1.15.4 |
| OSV | PyPI | tensorflow-cpu | >= 2.0.0, < 2.0.3 | 2.0.3 |
| OSV | PyPI | tensorflow-cpu | >= 2.1.0, < 2.1.2 | 2.1.2 |
| OSV | PyPI | tensorflow-cpu | >= 2.2.0, < 2.2.1 | 2.2.1 |
| OSV | PyPI | tensorflow-cpu | >= 2.3.0, < 2.3.1 | 2.3.1 |
| OSV | PyPI | tensorflow-gpu | < 1.15.4 | 1.15.4 |
| OSV | PyPI | tensorflow-gpu | >= 2.0.0, < 2.0.3 | 2.0.3 |
| OSV | PyPI | tensorflow-gpu | >= 2.1.0, < 2.1.2 | 2.1.2 |
| OSV | PyPI | tensorflow-gpu | >= 2.2.0, < 2.2.1 | 2.2.1 |
| OSV | PyPI | tensorflow-gpu | >= 2.3.0, < 2.3.1 | 2.3.1 |
| OSV | PyPI | 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.1 | 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1 |
| OSV | PyPI | tensorflow-cpu | < 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.1 | 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1 |
| OSV | PyPI | tensorflow-gpu | < 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.1 | 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html · Mailing List, Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/commit/0b5662bc2be13a8c8f044d925d87fb6e56247cd8 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 · Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-qh32-6jjc-qprm · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-15209 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-289.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-324.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-132.yaml · WEB
- https://github.com/tensorflow/tensorflow · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Sep 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)