{"id":"CVE-2023-25665","published":"2023-03-24T23:39:26Z","modified":"2025-02-19T20:31:10Z","title":"TensorFlow has Null Pointer Error in SparseSparseMaximum","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, when `SparseSparseMaximum` is given invalid sparse tensors as inputs, it can give a null pointer error. A fix is included in TensorFlow version 2.12 and version 2.11.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00443,"percentile":0.39355,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-558h-mq8x-7q9g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.87},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.11.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-19T20:30:58.928514Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-558h-mq8x-7q9g","PYSEC-2026-3106"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-558h-mq8x-7q9g","PYSEC-2026-3276"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-558h-mq8x-7q9g","PYSEC-2026-1956"],"provenance":"source"}],"summary":{"text":"The TensorFlow platform's SparseSparseMaximum operation contains a null pointer dereference flaw that is triggered when it receives invalid sparse tensors as inputs. An attacker who can submit crafted sparse tensor inputs over the network, with no authentication or user interaction and default configuration, can cause a null pointer error that results in a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:26Z"},"euvd":{"id":"EUVD-2023-0874","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2020-15202","parents":[{"from":"CVE-2021-29607","to":"CVE-2023-25665","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/sparse_sparse_binary_op_shared.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/ba6822bd7b7324ba201a28b2f278c29a98edbef2","https://github.com/tensorflow/tensorflow/commit/f6fde895ef9c77d848061c0517f19d0ec2682f3a","https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04"],"basis":"shared function","functions":["SparseSparseBinaryOpShared"]}]},{"from":"CVE-2021-29612","to":"CVE-2023-25665","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/sparse_sparse_binary_op_shared.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/ba6822bd7b7324ba201a28b2f278c29a98edbef2","https://github.com/tensorflow/tensorflow/commit/0ab290774f91a23bebe30a358fde4e53ab4876a0","https://github.com/tensorflow/tensorflow/commit/5e0ecfb42f5f65629fd7a4edd6c4afe7ff0feb04"],"basis":"shared function","functions":["SparseSparseBinaryOpShared"]}]}]}}