{"id":"CVE-2022-41890","published":"2022-11-18T00:00:00Z","modified":"2025-04-22T16:05:33Z","title":"`CHECK` fail in `BCast` overflow in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If `BCast::ToShape` is given input larger than an `int32`, it will crash, despite being supposed to handle up to an `int64`. An example can be seen in `tf.experimental.numpy.outer` by passing in large input to the input `b`. We have patched the issue in GitHub commit 8310bf8dd188ff780e7fc53245058215a05bdbe5. 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.0064,"percentile":0.51588,"provenance":"source"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-h246-cgh4-7475","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/commit/8310bf8dd188ff780e7fc53245058215a05bdbe5","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/util/bcast.h","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":10.32},{"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:20.461794Z","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-h246-cgh4-7475","PYSEC-2026-3194"],"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-h246-cgh4-7475","PYSEC-2026-3333"],"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-h246-cgh4-7475","PYSEC-2026-1001"],"provenance":"source"}],"summary":{"text":"A flaw in TensorFlow's BCast::ToShape routine causes the platform to crash when it receives input larger than an int32, even though it is meant to handle int64 values; an example is large input to tf.experimental.numpy.outer. An attacker can trigger the crash remotely over the network, but only with low privileges and only when a user takes an action, such as interacting with the affected operation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:41Z"},"euvd":{"id":"EUVD-2022-7354","exploited":false,"provenance":"source"}}