{"id":"CVE-2020-15209","aliases":["BIT-tensorflow-2020-15209","GHSA-qh32-6jjc-qprm","PYSEC-2020-132","PYSEC-2020-289","PYSEC-2020-324"],"url":"https://o3.security/vulnerability/CVE-2020-15209","summary":"Null pointer dereference in tensorflow-lite","details":"In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to have as input a tensor backed by a `nullptr` buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one. The runtime assumes that these buffers are written to before a possible read, hence they are initialized with `nullptr`. However, by changing the buffer index for a tensor and implicitly converting that tensor to be a read-write one, as there is nothing in the model that writes to it, we get a null pointer dereference. The issue is patched in commit 0b5662bc, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.","published":"2020-09-25T19:15:16.213Z","modified":"2026-08-07T16:49:40.860128Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"1.15.4"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.0.3"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.1.2"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.2.1"},{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.3.1"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"1.15.4"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.0.3"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.1.2"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.2.1"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.3.1"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"1.15.4"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.0.3"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.1.2"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.2.1"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.3.1"}],"fix":{"url":"https://github.com/tensorflow/tensorflow/commit/0b5662bc2be13a8c8f044d925d87fb6e56247cd8","label":"tensorflow/tensorflow@0b5662b"},"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/0b5662bc2be13a8c8f044d925d87fb6e56247cd8"},{"type":"EVIDENCE","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-qh32-6jjc-qprm"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T16:49:40.860128Z"}}