{"id":"CVE-2022-41884","published":"2022-11-18T00:00:00Z","modified":"2025-04-22T16:06:54Z","title":"Seg fault in `ndarray_tensor_bridge` due to zero and large inputs in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If a numpy array is created with a shape such that one element is zero and the others sum to a large number, an error will be raised. We have patched the issue in GitHub commit 2b56169c16e375c521a3bc8ea658811cc0793784. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00451,"percentile":0.401,"provenance":"source"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jq6x-99hj-q636","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/commit/2b56169c16e375c521a3bc8ea658811cc0793784","tags":[]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":8.02},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.10.0, < 2.10.1",">= 2.9.0, < 2.9.3","< 2.8.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:42:39.496021Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-jq6x-99hj-q636","PYSEC-2026-3208"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-jq6x-99hj-q636","PYSEC-2026-3345"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-jq6x-99hj-q636","PYSEC-2026-1013"],"provenance":"source"}],"summary":{"text":"The flaw is a segmentation fault in the ndarray_tensor_bridge component of TensorFlow, triggered when a NumPy array is created with a shape where one dimension is zero and the remaining dimensions multiply to a large value. An attacker with low-privileged access can crash the process by reaching this code path over the network, but exploitation requires high attack complexity and user interaction, and the impact is limited to availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:49Z"},"euvd":{"id":"EUVD-2022-7375","exploited":false,"provenance":"source"}}