Security mailing lists by PureSourceCode

CVE-2020-26267

HIGH 7.8CVSS 3.1

Lack of validation in data format attributes in TensorFlow

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.

Published
10 Dec 2020
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-125
Also known as
BIT-tensorflow-2020-26267GHSA-c9f3-9wfr-wgh7PYSEC-2020-140PYSEC-2020-298PYSEC-2020-333
Sources
NVDJSONOSV GHSA-c9f3-9wfr-wgh7JSONOSV PYSEC-2020-140JSONOSV PYSEC-2020-298JSONOSV PYSEC-2020-333JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.4 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:L/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
< 1.15.5 1.15.5
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.0.4 2.0.4
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
>= 2.1.0, < 2.1.3 2.1.3
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
>= 2.2.0, < 2.2.2 2.2.2
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.3.2 2.3.2
OSV PyPI tensorflow < 1.15.5 1.15.5
OSV PyPI tensorflow >= 2.0.0, < 2.0.4 2.0.4
OSV PyPI tensorflow >= 2.1.0, < 2.1.3 2.1.3
OSV PyPI tensorflow >= 2.2.0, < 2.2.2 2.2.2
OSV PyPI tensorflow >= 2.3.0, < 2.3.2 2.3.2
OSV PyPI tensorflow-cpu < 1.15.5 1.15.5
OSV PyPI tensorflow-cpu >= 2.0.0, < 2.0.4 2.0.4
OSV PyPI tensorflow-cpu >= 2.1.0, < 2.1.3 2.1.3
OSV PyPI tensorflow-cpu >= 2.2.0, < 2.2.2 2.2.2
OSV PyPI tensorflow-cpu >= 2.3.0, < 2.3.2 2.3.2
OSV PyPI tensorflow-gpu < 1.15.5 1.15.5
OSV PyPI tensorflow-gpu >= 2.0.0, < 2.0.4 2.0.4
OSV PyPI tensorflow-gpu >= 2.1.0, < 2.1.3 2.1.3
OSV PyPI tensorflow-gpu >= 2.2.0, < 2.2.2 2.2.2
OSV PyPI tensorflow-gpu >= 2.3.0, < 2.3.2 2.3.2
OSV PyPI tensorflow < 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 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
OSV PyPI tensorflow-cpu < 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 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
OSV PyPI tensorflow-gpu < 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 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 10 Dec 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Dec 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Dec 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Dec 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Dec 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.