{"id":"CVE-2022-41910","summary":"Heap out of bounds read in `QuantizeAndDequantizeV2` in Tensorflow","details":"TensorFlow is an open source platform for machine learning. The function MakeGrapplerFunctionItem takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read or a crash is triggered. We have patched the issue in GitHub commit a65411a1d69edfb16b25907ffb8f73556ce36bb7. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.8.4, 2.9.3, and 2.10.1.","aliases":["BIT-tensorflow-2022-41910","GHSA-frqp-wp83-qggv"],"modified":"2026-04-02T08:22:22.264713Z","published":"2022-12-06T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41910.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-125"]},"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/grappler/utils/functions.cc#L221"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41910.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-frqp-wp83-qggv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41910"},{"type":"FIX","url":"https://github.com/tensorflow/tensorflow/commit/a65411a1d69edfb16b25907ffb8f73556ce36bb7"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"359c3cdfc5fabac82b3c70b3b6de2b0a8c16874f"},{"fixed":"fdfc646704c37bdf450525f6ced9d80df86e4993"}],"database_specific":{"versions":[{"introduced":"2.10.0"},{"fixed":"2.10.1"}]}},{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"8a20d54a3c1bfa38c03ea99a2ad3c1b0a45dfa95"},{"fixed":"a5ed5f39b675a1c6f315e0caf3ad4b38478fa571"}],"database_specific":{"versions":[{"introduced":"2.9.0"},{"fixed":"2.9.3"}]}},{"type":"GIT","repo":"https://github.com/tensorflow/tensorflow","events":[{"introduced":"0"},{"fixed":"1b8f5c396f0c016ebe81fe1af029e6f205c926a4"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.8.4"}]}}],"versions":["0.12.0-rc0","0.12.0-rc1","0.12.1","0.5.0","0.6.0","tflite-v0.1.7","v0.10.0","v0.10.0rc0","v0.11.0","v0.11.0rc0","v0.11.0rc1","v0.11.0rc2","v0.12.0","v0.6.0","v0.7.0","v0.7.1","v0.8.0","v0.8.0rc0","v0.9.0","v0.9.0rc0","v1.0.0","v1.0.0-alpha","v1.0.0-rc0","v1.0.0-rc1","v1.0.0-rc2","v1.0.1","v1.1.0","v1.1.0-rc0","v1.1.0-rc1","v1.1.0-rc2","v1.10.0","v1.10.0-rc0","v1.10.0-rc1","v1.10.1","v1.11.0","v1.11.0-rc0","v1.11.0-rc1","v1.11.0-rc2","v1.12.0","v1.12.0-rc0","v1.12.0-rc1","v1.12.0-rc2","v1.12.1","v1.12.2","v1.12.3","v1.13.0-rc0","v1.13.0-rc1","v1.13.0-rc2","v1.13.1","v1.13.2","v1.14.0","v1.14.0-rc0","v1.14.0-rc1","v1.15.0","v1.15.0-rc0","v1.15.0-rc1","v1.15.0-rc2","v1.15.0-rc3","v1.15.2","v1.15.3","v1.15.4","v1.15.5","v1.2.0","v1.2.0-rc0","v1.2.0-rc1","v1.2.0-rc2","v1.2.1","v1.3.0","v1.3.0-rc0","v1.3.0-rc1","v1.3.0-rc2","v1.3.1","v1.4.0","v1.4.0-rc0","v1.4.0-rc1","v1.4.1","v1.5.0","v1.5.0-rc0","v1.5.0-rc1","v1.5.1","v1.6.0","v1.6.0-rc0","v1.6.0-rc1","v1.7.0","v1.7.0-rc0","v1.7.0-rc1","v1.7.1","v1.8.0","v1.8.0-rc0","v1.8.0-rc1","v1.9.0","v1.9.0-rc0","v1.9.0-rc1","v1.9.0-rc2","v2.0.0","v2.0.0-alpha0","v2.0.0-beta0","v2.0.0-beta1","v2.0.0-rc0","v2.0.0-rc1","v2.0.0-rc2","v2.0.1","v2.0.2","v2.0.3","v2.0.4","v2.1.0","v2.1.0-rc0","v2.1.0-rc1","v2.1.0-rc2","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.10.0","v2.10.0-rc0","v2.10.0-rc1","v2.10.0-rc2","v2.10.0-rc3","v2.10.1","v2.11.0","v2.11.0-rc0","v2.11.0-rc1","v2.11.0-rc2","v2.11.1","v2.12.0","v2.12.0-rc0","v2.12.0-rc1","v2.12.1","v2.13.0","v2.13.0-rc0","v2.13.0-rc1","v2.13.0-rc2","v2.13.1","v2.14.0","v2.14.0-rc0","v2.14.0-rc1","v2.14.1","v2.15.0","v2.15.0-rc0","v2.15.0-rc1","v2.15.1","v2.16.0-rc0","v2.16.1","v2.16.2","v2.17.0","v2.17.0-rc0","v2.17.0-rc1","v2.17.1","v2.18.0","v2.18.0-rc0","v2.18.0-rc1","v2.18.0-rc2","v2.18.1","v2.19.0","v2.19.0-rc0","v2.19.1","v2.2.0","v2.2.0-rc0","v2.2.0-rc1","v2.2.0-rc2","v2.2.0-rc3","v2.2.0-rc4","v2.2.1","v2.2.2","v2.2.3","v2.20.0","v2.20.0-rc0","v2.21.0","v2.21.0-rc0","v2.21.0-rc1","v2.3.0","v2.3.0-rc0","v2.3.0-rc1","v2.3.0-rc2","v2.3.1","v2.3.2","v2.3.3","v2.3.4","v2.4.0","v2.4.0-rc0","v2.4.0-rc1","v2.4.0-rc2","v2.4.0-rc3","v2.4.0-rc4","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.5.0","v2.5.0-rc0","v2.5.0-rc1","v2.5.0-rc2","v2.5.0-rc3","v2.5.1","v2.5.2","v2.5.3","v2.6.0","v2.6.0-rc0","v2.6.0-rc1","v2.6.0-rc2","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.7.0","v2.7.0-rc0","v2.7.0-rc1","v2.7.1","v2.7.2","v2.7.3","v2.7.4","v2.8.0","v2.8.0-rc0","v2.8.0-rc1","v2.8.1","v2.8.2","v2.8.3","v2.9.0","v2.9.0-rc0","v2.9.0-rc1","v2.9.0-rc2","v2.9.1","v2.9.2","v2.9.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41910.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H"}]}