{"id":"CVE-2022-35979","summary":"Segfault in `QuantizedRelu` and `QuantizedRelu6`","details":"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.","aliases":["BIT-tensorflow-2022-35979","GHSA-v7vw-577f-vp8x","PYSEC-2026-1038","PYSEC-2026-3245","PYSEC-2026-3372"],"modified":"2026-08-12T13:01:26.113054Z","published":"2022-09-16T21:10:10Z","related":["openSUSE-SU-2024:12355-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35979.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-20"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35979.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-v7vw-577f-vp8x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35979"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"dd7b8a3c1714d0052ce4b4a2fd8dcef927439a24"},{"introduced":"3f878cff5b698b82eea85db2b60d65a2e320850e"},{"fixed":"0516d4d8bced506cae97dc3cb45dbd2fe4311f26"},{"introduced":"8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"},{"fixed":"d8ce9f9c301d021a69953134185ab728c1c248d3"},{"fixed":"49b3824d83af706df0ad07e4e677d88659756d89"}],"database_specific":{"cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.7.2"},{"introduced":"2.8.0"},{"fixed":"2.8.1"},{"introduced":"2.9.0"},{"fixed":"2.9.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.9.0","v2.7.1","v2.8.0","v2.7.0","v2.7.0-rc1","v2.7.0-rc0","v1.12.1","v1.9.0-rc2","v1.6.0-rc1","v1.1.0-rc2","v1.1.0-rc1","0.6.0","0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35979.json","vanir_signatures_modified":"2026-08-12T13:01:26Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89","target":{"file":"tensorflow/core/kernels/quantized_activation_ops.cc"},"deprecated":false,"digest":{"line_hashes":["170222121836704312899447823576540911757","97673997030964245828937519354083077058","47786075436537510989503688785580062739","289064965225772017545549144327501304245","30768752170280327159404919690058785158","300684694156038657717374899240514755058","97673997030964245828937519354083077058","47786075436537510989503688785580062739","289064965225772017545549144327501304245","30768752170280327159404919690058785158"],"threshold":0.9},"id":"CVE-2022-35979-8cdb15df","signature_type":"Line"},{"target":{"file":"tensorflow/core/kernels/quantized_activation_ops_test.cc","function":"TEST_F"},"deprecated":false,"digest":{"function_hash":"123368018066858640080544954417047533964","length":1283},"id":"CVE-2022-35979-9976d803","signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89"},{"id":"CVE-2022-35979-a0c634d9","signature_type":"Function","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89","target":{"file":"tensorflow/core/kernels/quantized_activation_ops_test.cc","function":"TEST_F"},"deprecated":false,"digest":{"function_hash":"285004738334140963146368834729739774232","length":1283}},{"digest":{"line_hashes":["157257634353188081086661447613193028795","194524571793561527475944743063669333362","268724565794205995253310988339992580446","127154237628915706796893735202087865964","124002366561504606295200853967085920167","49975480822971769738770117044568989299","278273678958373209629526300443473151263","319020627723802924468952495718039390833","246676316328215079126997770839446637382","141695210354493539755729085588781818961","231337139793303969711967009585951364053"],"threshold":0.9},"id":"CVE-2022-35979-b35bcc8b","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89","target":{"file":"tensorflow/core/kernels/quantized_add_op.cc"},"deprecated":false},{"target":{"file":"tensorflow/core/kernels/quantized_activation_ops_test.cc"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["265115205511667257406610044275795998106","8426146646833268737914940905314965737","231881554537897185496361437809745214091","187998750230883982641040290065386050155","285309588404052896647879083311248870071","333014928306424957123593024271286642974","8426146646833268737914940905314965737","231881554537897185496361437809745214091","187998750230883982641040290065386050155","285309588404052896647879083311248870071"]},"id":"CVE-2022-35979-e66b321c","signature_type":"Line","signature_version":"v1","source":"https://github.com/tensorflow/tensorflow/commit/49b3824d83af706df0ad07e4e677d88659756d89"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}