CVE-2020-15266
HIGH 7.5CVSS 3.1Float cast overflow undefined behavior
In Tensorflow before version 2.4.0, when the boxes argument of tf.image.crop_and_resize has a very large value, the CPU kernel implementation receives it as a C++ nan floating point value. Attempting to operate on this is undefined behavior which later produces a segmentation fault. The issue is patched in eccb7ec454e6617738554a255d77f08e60ee0808 and TensorFlow 2.4.0 will be released containing the patch. TensorFlow nightly packages after this commit will also have the issue resolved.
- Published
- 21 Oct 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-119
- Also known as
- BIT-tensorflow-2020-15266GHSA-xwhf-g6j5-j5gcPYSEC-2020-139PYSEC-2020-296PYSEC-2020-331
- Sources
- NVDJSONOSV GHSA-xwhf-g6j5-j5gcJSONOSV PYSEC-2020-139JSONOSV PYSEC-2020-296JSONOSV PYSEC-2020-331JSON
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:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/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:*:*:*:*:-:*:*:* |
< 2.4.0 | 2.4.0 | |
| OSV | PyPI | tensorflow | < 2.4.0 | 2.4.0 |
| OSV | PyPI | tensorflow-cpu | < 2.4.0 | 2.4.0 |
| OSV | PyPI | tensorflow-gpu | < 2.4.0 | 2.4.0 |
References
- https://github.com/tensorflow/tensorflow/issues/42129 · Exploit, Patch, Third Party Advisory, WEB, REPORT
- https://github.com/tensorflow/tensorflow/pull/42143/commits/3ade2efec2e90c6237de32a19680caaa3ebc2845 · Patch, Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xwhf-g6j5-j5gc · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-15266 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-296.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-331.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-139.yaml · WEB
- https://github.com/tensorflow/tensorflow · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 21 Oct 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Oct 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Oct 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Oct 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Nov 2020)