Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15266
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:24 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-15266
Complete source record
{
"id": "f4b2d3a43f742c20df1a8e8b7f94fe4baa4ce3cb5ec80051dd3252d46d4415ab",
"url": "https://osv.dev/vulnerability/CVE-2020-15266",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15266",
"summary": "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.",
"evidence": "osv:CVE-2020-15266",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-15266",
"aliases": [
"BIT-tensorflow-2020-15266",
"CVE-2020-15266",
"GHSA-xwhf-g6j5-j5gc",
"PYSEC-2020-139",
"PYSEC-2020-296",
"PYSEC-2020-331"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/tensorflow/tensorflow",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "582c8d236cb079023657287c318ff26adb239002"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:google:tensorflow:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.4.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.4.0-rc4",
"v2.4.0-rc3",
"v2.4.0-rc2",
"v2.4.0-rc1",
"v2.4.0-rc0",
"v1.12.1",
"v1.9.0-rc2",
"v1.6.0-rc1",
"v1.1.0-rc2",
"v1.1.0-rc1",
"0.6.0",
"0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15266.json"
}
}
],
"modified": "2026-10-20T10:54:17.907618738Z",
"provider": "osv",
"references": [
"https://github.com/tensorflow/tensorflow/issues/42129",
"https://github.com/tensorflow/tensorflow/pull/42143/commits/3ade2efec2e90c6237de32a19680caaa3ebc2845",
"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xwhf-g6j5-j5gc"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15266",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384993,
"published_at": "2020-10-21T21:15:12.35+00:00"
}