CVE-2020-26269
HIGH 7.5CVSS 3.1TensorFlow vulnerable to heap out of bounds read in filesystem glob matching
In TensorFlow release candidate versions 2.4.0rc*, the general implementation for matching filesystem paths to globbing pattern is vulnerable to an access out of bounds of the array holding the directories. There are multiple invariants and preconditions that are assumed by the parallel implementation of GetMatchingPaths but are not verified by the PRs introducing it (#40861 and #44310). Thus, we are completely rewriting the implementation to fully specify and validate these. This is patched in version 2.4.0. This issue only impacts master branch and the release candidates for TF version 2.4. The final release of the 2.4 release will be patched.
- 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-26269GHSA-9jjw-hf72-3mxwPYSEC-2020-141PYSEC-2020-300PYSEC-2020-335
- Sources
- NVDJSONOSV GHSA-9jjw-hf72-3mxwJSONOSV PYSEC-2020-141JSONOSV PYSEC-2020-300JSONOSV PYSEC-2020-335JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.4.0:rc0:*:*:*:*:*:* |
= 2.4.0 | ||
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.4.0:rc1:*:*:*:*:*:* |
= 2.4.0 | ||
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.4.0:rc2:*:*:*:*:*:* |
= 2.4.0 | ||
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.4.0:rc3:*:*:*:*:*:* |
= 2.4.0 | ||
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.4.0:rc4:*:*:*:*:*:* |
= 2.4.0 | ||
| OSV | PyPI | tensorflow | >= 2.4.0rc0, < 2.4.0 | 2.4.0 |
| OSV | PyPI | tensorflow-cpu | >= 2.4.0rc0, < 2.4.0 | 2.4.0 |
| OSV | PyPI | tensorflow-gpu | >= 2.4.0rc0, < 2.4.0 | 2.4.0 |
References
- https://github.com/tensorflow/tensorflow/commit/8b5b9dc96666a3a5d27fad7179ff215e3b74b67c · Patch, Third Party Advisory, WEB, FIX
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9jjw-hf72-3mxw · Exploit, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-26269 · ADVISORY
- https://github.com/tensorflow/tensorflow/pull/40861 · WEB
- https://github.com/tensorflow/tensorflow/pull/44310 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-300.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-335.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-141.yaml · WEB
- https://github.com/tensorflow/tensorflow · PACKAGE
- https://github.com/tensorflow/tensorflow/blob/458c6260265c46ebaf18052d6c61aea4b6b40926/tensorflow/core/platform/file_system_helper.cc#L106 · WEB
- https://github.com/tensorflow/tensorflow/blob/458c6260265c46ebaf18052d6c61aea4b6b40926/tensorflow/core/platform/file_system_helper.cc#L127 · WEB
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 7 Oct 2022)