CVE-2020-26271: google tensorflow Out-of-bounds Read
Vulnerability summary
CVE-2020-26271 is a medium (CVSS 4.4) Out-of-bounds Read vulnerability in google tensorflow. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.2% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 10-12-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- NVDNIST3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundTensorflow
Maturity: poc
Weaknesses
CWE · root causeAffected systems
PyPI3 products
- tensorflow< 1.15.5 | ≥ 2.0.0, < 2.0.4 | ≥ 2.1.0, < 2.1.3 | ≥ 2.2.0, < 2.2.2 | < 0cc38aaa4064fd9e79101994ce9872c6d91f816b | ≥ 2.3.0, < 2.3.2
- tensorflow-cpu< 1.15.5 | ≥ 2.0.0, < 2.0.4 | ≥ 2.1.0, < 2.1.3 | ≥ 2.2.0, < 2.2.2 | < 0cc38aaa4064fd9e79101994ce9872c6d91f816b | ≥ 2.3.0, < 2.3.2
- tensorflow-gpu< 1.15.5 | ≥ 2.0.0, < 2.0.4 | ≥ 2.1.0, < 2.1.3 | ≥ 2.2.0, < 2.2.2 | < 0cc38aaa4064fd9e79101994ce9872c6d91f816b | ≥ 2.3.0, < 2.3.2
Google1 product
- 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
Tensorflow1 product
- 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
3 vendors · 5 products
References
6 links- github.com/tensorflow/tensorflow/security/advisories/GHSA-q263-fvxm-m5mwX Refsource CONFIRMWEBAdvisoryExploitPatchThird Party Advisory
- github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816bX Refsource MISCWEBFIXPatchThird Party Advisory