{"id":"CVE-2022-41885","published":"2022-11-18T00:00:00Z","modified":"2025-04-22T16:06:46Z","title":"Overflow in `FusedResizeAndPadConv2D` in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. When `tf.raw_ops.FusedResizeAndPadConv2D` is given a large tensor shape, it overflows. We have patched the issue in GitHub commit d66e1d568275e6a2947de97dca7a102a211e01ce. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00568,"percentile":0.47974,"provenance":"source"},"cwes":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-762h-vpvw-3rcx","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/commit/d66e1d568275e6a2947de97dca7a102a211e01ce","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/conv_ops_fused_image_transform.cc","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":9.59},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.9.0, < 2.9.1",">= 2.8.0, < 2.8.1","< 2.7.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:42:36.319476Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.7.4",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.4","2.8.1","2.9.1"],"from":["GHSA-762h-vpvw-3rcx","PYSEC-2026-3126"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.7.4",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.4","2.8.1","2.9.1"],"from":["GHSA-762h-vpvw-3rcx","PYSEC-2026-3290"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.7.4",">=2.8.0, <2.8.1",">=2.9.0, <2.9.1"],"patched":["2.7.4","2.8.1","2.9.1"],"from":["GHSA-762h-vpvw-3rcx","PYSEC-2026-964"],"provenance":"source"}],"summary":{"text":"A flaw in the FusedResizeAndPadConv2D operation of TensorFlow (product: tensorflow) causes an integer overflow when it is given a large tensor shape, leading to an incorrect buffer size calculation. An attacker with low-privileged network access can trigger a denial of service, but only by inducing a user to take an action and under high-complexity conditions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:32Z"},"euvd":{"id":"EUVD-2022-7264","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-29550","children":[{"from":"CVE-2022-41885","to":"CVE-2022-41900","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/ops/nn_ops.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/d66e1d568275e6a2947de97dca7a102a211e01ce","https://github.com/tensorflow/tensorflow/commit/216525144ee7c910296f5b05d214ca1327c9ce48"],"basis":"rarely changed file"}]}]}}