{"id":"CVE-2020-15210","published":"2020-09-25T18:45:30Z","modified":"2024-08-04T13:08:22Z","title":"Segmentation fault in tensorflow-lite","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, if a TFLite saved model uses the same tensor as both input and output of an operator, then, depending on the operator, we can observe a segmentation fault or just memory corruption. We have patched the issue in d58c96946b and will release patch releases for all versions between 1.15 and 2.3. We recommend users to upgrade to TensorFlow 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00739,"percentile":0.55475,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-x9j7-x98r-r4w2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/d58c96946b2880991d63d1dacacb32f0a4dfa453","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":11.09},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 1.15.4",">= 2.0.0, < 2.0.3",">= 2.1.0, < 2.1.2",">= 2.2.0, < 2.2.1",">= 2.3.0, < 2.3.1"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<1.15.4",">=2.0.0, <2.0.3",">=2.1.0, <2.1.2",">=2.2.0, <2.2.1",">=2.3.0, <2.3.1"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-x9j7-x98r-r4w2","PYSEC-2020-133"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<1.15.4",">=2.0.0, <2.0.3",">=2.1.0, <2.1.2",">=2.2.0, <2.2.1",">=2.3.0, <2.3.1"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-x9j7-x98r-r4w2","PYSEC-2020-290"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<1.15.4",">=2.0.0, <2.0.3",">=2.1.0, <2.1.2",">=2.2.0, <2.2.1",">=2.3.0, <2.3.1"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-x9j7-x98r-r4w2","PYSEC-2020-325"],"provenance":"source"}],"summary":{"text":"The flaw is an improper input validation issue in the TensorFlow Lite component of TensorFlow, where a saved model that uses the same tensor as both input and output of an operator can trigger a segmentation fault or memory corruption depending on the operator. An attacker able to supply a crafted TFLite saved model can cause a crash or memory corruption over the network, with no authentication or user interaction required, though exploiting it reliably depends on specific conditions in the model's operator configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:11Z"},"euvd":{"id":"EUVD-2020-0206","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2020-15209","parents":[{"from":"CVE-2020-15209","to":"CVE-2020-15210","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/lite/BUILD","tensorflow/lite/core/subgraph.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/0b5662bc2be13a8c8f044d925d87fb6e56247cd8","https://github.com/tensorflow/tensorflow/commit/d58c96946b2880991d63d1dacacb32f0a4dfa453","https://github.com/tensorflow/tensorflow/commit/094329d0dcb8290bed2b1ee420934971f422c86d"],"basis":"shared function","functions":["cc_test"]}]}],"children":[{"from":"CVE-2020-15210","to":"CVE-2021-29591","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/lite/BUILD","tensorflow/lite/core/subgraph.cc","tensorflow/lite/core/subgraph.h"],"commits":["https://github.com/tensorflow/tensorflow/commit/d58c96946b2880991d63d1dacacb32f0a4dfa453","https://github.com/tensorflow/tensorflow/commit/094329d0dcb8290bed2b1ee420934971f422c86d","https://github.com/tensorflow/tensorflow/commit/9c1dc920d8ffb4893d6c9d27d1f039607b326743","https://github.com/tensorflow/tensorflow/commit/c6173f5fe66cdbab74f4f869311fe6aae2ba35f4"],"basis":"shared function","functions":["Subgraph","cc_test"]}]}]}}