Security mailing lists by PureSourceCode

CVE-2020-26271

LOW 3.3CVSS 3.1

Heap out of bounds access in MakeEdge in TensorFlow

In affected versions of TensorFlow under certain cases, loading a saved model can result in accessing uninitialized memory while building the computation graph. The MakeEdge function creates an edge between one output tensor of the src node (given by output_index) and the input slot of the dst node (given by input_index). This is only possible if the types of the tensors on both sides coincide, so the function begins by obtaining the corresponding DataType values and comparing these for equality. However, there is no check that the indices point to inside of the arrays they index into. Thus, this can result in accessing data out of bounds of the corresponding heap allocated arrays. In most scenarios, this can manifest as unitialized data access, but if the index points far away from the boundaries of the arrays this can be used to leak addresses from the library. 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
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-125CWE-908
Also known as
BIT-tensorflow-2020-26271GHSA-q263-fvxm-m5mwPYSEC-2020-257PYSEC-2020-302PYSEC-2020-337
Sources
NVDJSONOSV GHSA-q263-fvxm-m5mwJSONOSV PYSEC-2020-257JSONOSV PYSEC-2020-302JSONOSV PYSEC-2020-337JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
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 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N

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:12 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.