{"id":"CVE-2022-35979","published":"2022-09-16T21:10:10Z","modified":"2025-04-23T17:02:30Z","title":"Segfault in `QuantizedRelu` and `QuantizedRelu6`","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If `QuantizedRelu` or `QuantizedRelu6` are given nonscalar inputs for `min_features` or `max_features`, it results in a segfault that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 49b3824d83af706df0ad07e4e677d88659756d89. 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.4514,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-v7vw-577f-vp8x","tags":["x_refsource_CONFIRM"]}],"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:19.588541Z","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-v7vw-577f-vp8x","PYSEC-2026-3245"],"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-v7vw-577f-vp8x","PYSEC-2026-3372"],"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-v7vw-577f-vp8x","PYSEC-2026-1038"],"provenance":"source"}],"summary":{"text":"The flaw is an improper input validation issue in the QuantizedRelu and QuantizedRelu6 operations of TensorFlow, the open source machine learning platform. Supplying nonscalar values for the min_features or max_features inputs causes a segmentation fault. An attacker with network access and no authentication or user interaction could trigger a crash, resulting in a denial of service. The attack requires an attacker to craft inputs that reach these operations with nonscalar min_features or max_features values, and no workarounds are currently known.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:31Z"},"euvd":{"id":"EUVD-2022-6944","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-29549","parents":[{"from":"CVE-2021-29549","to":"CVE-2022-35979","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/quantized_add_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/744009c9e5cc5d0447f0dc39d055f917e1fd9e16","https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89"],"basis":"shared function","functions":["QuantizedAddOp"]}]}]}}