{"cve":"CVE-2022-21726","nvd":{"published":"2022-02-03T11:15:07.810","modified":"2026-06-17T04:26:51.967","status":"Modified","description":"Tensorflow is an Open Source Machine Learning Framework. The implementation of `Dequantize` does not fully validate the value of `axis` and can result in heap OOB accesses. The `axis` argument can be `-1` (the default value for the optional argument) or any other positive value at most the number of dimensions of the input. Unfortunately, the upper bound is not checked and this results in reading past the end of the array containing the dimensions of the input tensor. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-125"],"references":["https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/dequantize_op.cc#L92-L153","https://github.com/tensorflow/tensorflow/commit/23968a8bf65b009120c43b5ebcceaf52dbc9e943","https://github.com/tensorflow/tensorflow/security/advisories/GHSA-23hm-7w47-xw72","https://github.com/tensorflow/tensorflow/blob/5100e359aef5c8021f2e71c7b986420b85ce7b3d/tensorflow/core/kernels/dequantize_op.cc#L92-L153","https://github.com/tensorflow/tensorflow/commit/23968a8bf65b009120c43b5ebcceaf52dbc9e943"],"products":["google:tensorflow"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2022-21726","score":0.00825,"percentile":0.57403,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-23hm-7w47-xw72","url":"https://osv.dev/vulnerability/GHSA-23hm-7w47-xw72","summary":"Out of bounds read in Tensorflow","modified":"2026-09-10T03:49:11.379790958Z","packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<2.5.3"],"fixed":["2.5.3"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.6.0 <2.6.3"],"fixed":["2.6.3"]},{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[">=2.7.0 <2.7.1"],"fixed":["2.7.1"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<2.5.3"],"fixed":["2.5.3"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.6.0 <2.6.3"],"fixed":["2.6.3"]},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[">=2.7.0 <2.7.1"],"fixed":["2.7.1"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<2.5.3"],"fixed":["2.5.3"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.6.0 <2.6.3"],"fixed":["2.6.3"]},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[">=2.7.0 <2.7.1"],"fixed":["2.7.1"]}]},{"id":"PYSEC-2022-105","url":"https://osv.dev/vulnerability/PYSEC-2022-105","summary":"","modified":"2026-07-13T16:43:33.650835472Z","packages":[{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<2.5.3",">=2.6.0 <2.6.3"],"fixed":["2.5.3","2.6.3"]}]},{"id":"PYSEC-2022-50","url":"https://osv.dev/vulnerability/PYSEC-2022-50","summary":"","modified":"2026-07-13T16:43:33.650835472Z","packages":[{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<2.5.3",">=2.6.0 <2.6.3"],"fixed":["2.5.3","2.6.3"]}]},{"id":"PYSEC-2026-3082","url":"https://osv.dev/vulnerability/PYSEC-2026-3082","summary":"Out of bounds read in Tensorflow","modified":"2026-07-13T16:43:33.650835472Z","packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<2.5.3",">=2.6.0 <2.6.3",">=2.7.0 <2.7.1"],"fixed":["2.5.3","2.6.3","2.7.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}