{"id":"CVE-2020-26267","published":"2020-12-10T22:10:40Z","modified":"2024-08-04T15:56:04Z","title":"Lack of validation in data format attributes in TensorFlow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00243,"percentile":0.15851,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":3.17},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 1.15.5",">= 2.0.0, < 2.0.4",">= 2.1.0, < 2.1.3",">= 2.2.0, < 2.2.2",">= 2.3.0, < 2.3.2"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<1.15.5",">=2.0.0, <2.0.4",">=2.1.0, <2.1.3",">=2.2.0, <2.2.2",">=2.3.0, <2.3.2"],"patched":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"from":["GHSA-c9f3-9wfr-wgh7","PYSEC-2020-140"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<1.15.5",">=2.0.0, <2.0.4",">=2.1.0, <2.1.3",">=2.2.0, <2.2.2",">=2.3.0, <2.3.2"],"patched":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"from":["GHSA-c9f3-9wfr-wgh7","PYSEC-2020-298"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<1.15.5",">=2.0.0, <2.0.4",">=2.1.0, <2.1.3",">=2.2.0, <2.2.2",">=2.3.0, <2.3.2"],"patched":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"from":["GHSA-c9f3-9wfr-wgh7","PYSEC-2020-333"],"provenance":"source"}],"summary":{"text":"The tf.raw_ops.DataFormatVecPermute API in TensorFlow fails to validate its src_format and dst_format attributes, which are assumed to define a permutation of NHWC, leaving the code open to out-of-bounds reads and uninitialized memory access. An attacker with local access and low privileges can trigger these conditions, without user interaction, to cause crashes and corrupt memory reads.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:24Z"},"euvd":{"id":"EUVD-2020-0214","exploited":false,"provenance":"source"}}