{"id":"CVE-2022-35974","published":"2022-09-16T21:05:12Z","modified":"2025-04-23T17:02:36Z","title":"Segfault in `QuantizeDownAndShrinkRange` in TensorFlow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If `QuantizeDownAndShrinkRange` is given nonscalar inputs for `input_min` or `input_max`, it results in a segfault that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 73ad1815ebcfeb7c051f9c2f7ab5024380ca8613. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00521,"percentile":0.45139,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vgvh-2pf4-jr2x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/73ad1815ebcfeb7c051f9c2f7ab5024380ca8613","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.03},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.7.2",">= 2.8.0, < 2.8.1",">= 2.9.0, < 2.9.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:59:22.276584Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.7.2",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.2","2.8.1","2.9.1"],"from":["GHSA-vgvh-2pf4-jr2x","PYSEC-2026-3246"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.7.2",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.2","2.8.1","2.9.1"],"from":["GHSA-vgvh-2pf4-jr2x","PYSEC-2026-3373"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.7.2",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.2","2.8.1","2.9.1"],"from":["GHSA-vgvh-2pf4-jr2x","PYSEC-2026-1039"],"provenance":"source"}],"summary":{"text":"The flaw is an improper input validation bug in the QuantizeDownAndShrinkRange operation of TensorFlow, which causes a segfault when its input_min or input_max arguments are nonscalar. An attacker who can reach the affected TensorFlow component over the network, without authentication or user interaction, can crash the process to cause a denial of service, though the issue is high-complexity to exploit.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:30Z"},"euvd":{"id":"EUVD-2022-6947","exploited":false,"provenance":"source"}}