{"id":"CVE-2022-36026","published":"2022-09-16T22:05:20Z","modified":"2025-04-23T17:01:11Z","title":"`CHECK` fail in `QuantizeAndDequantizeV3` in TensorFlow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If `QuantizeAndDequantizeV3` is given a nonscalar `num_bits` input tensor, it results in a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit f3f9cb38ecfe5a8a703f2c4a8fead434ef291713. 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.00488,"percentile":0.42934,"provenance":"source"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9cr2-8pwr-fhfq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/f3f9cb38ecfe5a8a703f2c4a8fead434ef291713","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.59},{"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:58:43.035563Z","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-9cr2-8pwr-fhfq","PYSEC-2026-3149"],"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-9cr2-8pwr-fhfq","PYSEC-2026-3304"],"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-9cr2-8pwr-fhfq","PYSEC-2026-976"],"provenance":"source"}],"summary":{"text":"A flaw in TensorFlow's QuantizeAndDequantizeV3 operation causes a CHECK failure when the num_bits input is a nonscalar tensor, due to a reachable assertion in that component of the machine learning platform. An attacker who can submit input to this operation over the network, without authentication or user interaction, can trigger the crash to cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:09Z"},"euvd":{"id":"EUVD-2022-6756","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2020-15265","parents":[{"from":"CVE-2020-15265","to":"CVE-2022-36026","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/quantize_and_dequantize_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/eccb7ec454e6617738554a255d77f08e60ee0808","https://github.com/tensorflow/tensorflow/commit/f3f9cb38ecfe5a8a703f2c4a8fead434ef291713"],"basis":"shared function","functions":["QuantizeAndDequantizeV2Op"]}]},{"from":"CVE-2021-29544","to":"CVE-2022-36026","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/quantize_and_dequantize_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/20431e9044cf2ad3c0323c34888b192f3289af6b","https://github.com/tensorflow/tensorflow/commit/f3f9cb38ecfe5a8a703f2c4a8fead434ef291713"],"basis":"shared function","functions":["QuantizeAndDequantizeV4GradientOp"]}]},{"from":"CVE-2021-29553","to":"CVE-2022-36026","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/quantize_and_dequantize_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/99085e8ff02c3763a0ec2263e44daec416f6a387","https://github.com/tensorflow/tensorflow/commit/f3f9cb38ecfe5a8a703f2c4a8fead434ef291713"],"basis":"shared function","functions":["QuantizeAndDequantizeV3Op"]}]},{"from":"CVE-2021-29610","to":"CVE-2022-36026","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/quantize_and_dequantize_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/c5b0d5f8ac19888e46ca14b0e27562e7fbbee9a9","https://github.com/tensorflow/tensorflow/commit/f3f9cb38ecfe5a8a703f2c4a8fead434ef291713"],"basis":"shared function","functions":["QuantizeAndDequantizeV2Op"]}]},{"from":"CVE-2021-37645","to":"CVE-2022-36026","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/quantize_and_dequantize_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/96f364a1ca3009f98980021c4b32be5fdcca33a1","https://github.com/tensorflow/tensorflow/commit/f3f9cb38ecfe5a8a703f2c4a8fead434ef291713"],"basis":"shared function","functions":["QuantizeAndDequantizeV4GradientOp"]}]},{"from":"CVE-2022-29192","to":"CVE-2022-36026","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/quantize_and_dequantize_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/098e7762d909bac47ce1dbabe6dfd06294cb9d58","https://github.com/tensorflow/tensorflow/commit/f3f9cb38ecfe5a8a703f2c4a8fead434ef291713"],"basis":"shared function","functions":["QuantizeAndDequantizeV4GradientOp"]}]}]}}