{"cve":"CVE-2020-26271","nvd":{"published":"2020-12-10T22:15:12.077","modified":"2026-06-17T03:07:58.140","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3},"cwes":["CWE-125","CWE-908"],"references":["https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816b","https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q263-fvxm-m5mw","https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816b","https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q263-fvxm-m5mw"],"products":["google:tensorflow"],"source":"nvd","synced_at":"2026-10-19T21:12:09.559580076+00:00"},"epss":{"cve":"CVE-2020-26271","score":0.00216,"percentile":0.12072,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q263-fvxm-m5mw","url":"https://osv.dev/vulnerability/GHSA-q263-fvxm-m5mw","summary":"Heap out of bounds access in MakeEdge in TensorFlow","modified":"2026-07-08T06:00:06.054336351Z","packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<1.15.5"],"fixed":["1.15.5"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.0.0 <2.0.4"],"fixed":["2.0.4"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.1.0 <2.1.3"],"fixed":["2.1.3"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.2.0 <2.2.2"],"fixed":["2.2.2"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.3.0 <2.3.2"],"fixed":["2.3.2"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<1.15.5"],"fixed":["1.15.5"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.0.0 <2.0.4"],"fixed":["2.0.4"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.1.0 <2.1.3"],"fixed":["2.1.3"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.2.0 <2.2.2"],"fixed":["2.2.2"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.3.0 <2.3.2"],"fixed":["2.3.2"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<1.15.5"],"fixed":["1.15.5"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.0.0 <2.0.4"],"fixed":["2.0.4"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.1.0 <2.1.3"],"fixed":["2.1.3"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.2.0 <2.2.2"],"fixed":["2.2.2"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.3.0 <2.3.2"],"fixed":["2.3.2"]}]},{"id":"PYSEC-2020-257","url":"https://osv.dev/vulnerability/PYSEC-2020-257","summary":"","modified":"2023-12-06T01:00:27.928692Z","packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<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"],"fixed":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"]}]},{"id":"PYSEC-2020-302","url":"https://osv.dev/vulnerability/PYSEC-2020-302","summary":"","modified":"2023-12-06T01:00:27.928692Z","packages":[{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<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"],"fixed":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"]}]},{"id":"PYSEC-2020-337","url":"https://osv.dev/vulnerability/PYSEC-2020-337","summary":"","modified":"2023-12-06T01:00:27.928692Z","packages":[{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<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"],"fixed":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}