{"cve":"CVE-2020-26268","nvd":{"published":"2020-12-10T23:15:12.833","modified":"2026-06-17T03:07:57.780","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":4.4},"cwes":["CWE-471"],"references":["https://github.com/tensorflow/tensorflow/commit/c1e1fc899ad5f8c725dcbb6470069890b5060bc7","https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hhvc-g5hv-48c6","https://github.com/tensorflow/tensorflow/commit/c1e1fc899ad5f8c725dcbb6470069890b5060bc7","https://github.com/tensorflow/tensorflow/security/advisories/GHSA-hhvc-g5hv-48c6"],"products":["google:tensorflow"],"source":"nvd","synced_at":"2026-10-19T21:12:09.559580076+00:00"},"epss":{"cve":"CVE-2020-26268","score":0.00212,"percentile":0.11477,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hhvc-g5hv-48c6","url":"https://osv.dev/vulnerability/GHSA-hhvc-g5hv-48c6","summary":"Write to immutable memory region in TensorFlow","modified":"2026-09-10T03:48:59.913785273Z","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-255","url":"https://osv.dev/vulnerability/PYSEC-2020-255","summary":"","modified":"2023-12-06T01:00:27.749801Z","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-299","url":"https://osv.dev/vulnerability/PYSEC-2020-299","summary":"","modified":"2023-12-06T01:00:27.749801Z","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-334","url":"https://osv.dev/vulnerability/PYSEC-2020-334","summary":"","modified":"2023-12-06T01:00:27.749801Z","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."]}