{"id":"CVE-2022-23592","published":"2022-02-04T22:32:14Z","modified":"2025-04-22T18:26:35Z","title":"Out of bounds read in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"Tensorflow is an Open Source Machine Learning Framework. TensorFlow's type inference can cause a heap out of bounds read as the bounds checking is done in a `DCHECK` (which is a no-op during production). An attacker can control the `input_idx` variable such that `ix` would be larger than the number of values in `node_t.args`. The fix will be included in TensorFlow 2.8.0. This is the only affected version.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00865,"percentile":0.59532,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-vq36-27g6-p492","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L223-L229","tags":["x_refsource_MISC"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":11.91},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["= 2.8.0-rc0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:51:19.331849Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":[">=2.8.0-rc0, <2.8.0"],"patched":["2.8.0"],"from":["GHSA-vq36-27g6-p492","PYSEC-2026-3249"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":[">=2.8.0-rc0, <2.8.0",">=2.7.0, <2.8.0"],"patched":["2.8.0"],"from":["GHSA-vq36-27g6-p492","PYSEC-2022-101"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":[">=2.8.0-rc0, <2.8.0",">=2.7.0, <2.8.0"],"patched":["2.8.0"],"from":["GHSA-vq36-27g6-p492","PYSEC-2022-156"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in TensorFlow's type inference, where a bounds check is implemented only as a DCHECK and so is skipped in production builds, allowing a heap read beyond the bounds of the node's argument list.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:40Z"},"euvd":{"id":"EUVD-2022-0285","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2022-23590","parents":[{"from":"CVE-2022-23590","to":"CVE-2022-23592","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/graph/graph.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/955059813cc325dc1db5e2daa6221271406d4439","https://github.com/tensorflow/tensorflow/commit/c99d98cd189839dcf51aee94e7437b54b31f8abd"],"basis":"rarely changed file"}]}]}}