CVE-2020-26268: google tensorflow
Vulnerability summary
CVE-2020-26268 is a medium (CVSS 4.4) vulnerability in google tensorflow. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.8% 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 the tf.raw_ops.ImmutableConst operation returns a constant tensor created from a memory mapped file which is assumed immutable. However, if the type of the tensor is not an integral type, the operation crashes the Python interpreter as it tries to write to the memory area. If the file is too small, TensorFlow properly returns an error as the memory area has fewer bytes than what is needed for the tensor it creates. However, as soon as there are enough bytes, the above snippet causes a segmentation fault. This is because the allocator used to return the buffer data is not marked as returning an opaque handle since the needed virtual method is not overridden. 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
- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
0.00 pp
From 0.21% on 19-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 | < c1e1fc899ad5f8c725dcbb6470069890b5060bc7 | ≥ 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 | < c1e1fc899ad5f8c725dcbb6470069890b5060bc7 | ≥ 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 | < c1e1fc899ad5f8c725dcbb6470069890b5060bc7 | ≥ 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
7 links- github.com/tensorflow/tensorflow/security/advisories/GHSA-hhvc-g5hv-48c6X Refsource CONFIRMWEBAdvisoryExploitThird Party Advisory
- github.com/tensorflow/tensorflow/commit/c1e1fc899ad5f8c725dcbb6470069890b5060bc7X Refsource MISCWEBFIXPatchThird Party Advisory