# CVE-2020-26269: Heap out of bounds read in filesystem glob matching in TensorFlow

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-12-10T22:10:28.000Z
- Modified: 2026-09-10T03:49:46.420Z
- Also known as: GHSA-9jjw-hf72-3mxw, BIT-TENSORFLOW-2020-26269, PYSEC-2020-141, PYSEC-2020-300, PYSEC-2020-335
- Weaknesses: CWE-125
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: .4.0rc*
- tensorflow (PyPI): from 2.4.0rc0 before 2.4.0; before 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c
- tensorflow-cpu (PyPI): from 2.4.0rc0 before 2.4.0; before 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c
- tensorflow-gpu (PyPI): from 2.4.0rc0 before 2.4.0; before 8b5b9dc96666a3a5d27fad7179ff215e3b74b67c
- google tensorflow: 2.4.0
- tensorflow (Bitnami): from 2.4.0-rc0 before 2.4.0; from 2.4.0-rc1 before 2.4.0; from 2.4.0-rc2 before 2.4.0; from 2.4.0-rc3 before 2.4.0; from 2.4.0-rc4 before 2.4.0

## Every score

- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9jjw-hf72-3mxw> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/8b5b9dc96666a3a5d27fad7179ff215e3b74b67c> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26269> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2020-26269](https://www.cve.org/CVERecord?id=CVE-2020-26269), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-9jjw-hf72-3mxw](https://github.com/advisories/GHSA-9jjw-hf72-3mxw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-26269](https://nvd.nist.gov/vuln/detail/CVE-2020-26269), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-141](https://osv.dev/vulnerability/PYSEC-2020-141), CC-BY-4.0, modified 2023-12-06
- PyPA Advisory Database: [PYSEC-2020-300](https://osv.dev/vulnerability/PYSEC-2020-300), CC-BY-4.0, modified 2023-12-06
- PyPA Advisory Database: [PYSEC-2020-335](https://osv.dev/vulnerability/PYSEC-2020-335), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2020-26269](https://osv.dev/vulnerability/BIT-TENSORFLOW-2020-26269), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2020-26269 · Whole record: https://cve.day/CVE-2020-26269.json · Rebuilt by cve.day 2026-11-25T22:57:56.154Z
