{"id":"CVE-2022-41900","published":"2022-11-18T00:00:00Z","modified":"2025-04-22T16:03:33Z","title":"FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. The security vulnerability results in FractionalMax(AVG)Pool with illegal pooling_ratio. Attackers using Tensorflow can exploit the vulnerability. They can access heap memory which is not in the control of user, leading to a crash or remote code execution. We have patched the issue in GitHub commit 216525144ee7c910296f5b05d214ca1327c9ce48. The fix will be included in TensorFlow 2.11.0. We will also cherry pick this commit on TensorFlow 2.10.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00813,"percentile":0.57906,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-xvwp-h6jv-7472","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/commit/216525144ee7c910296f5b05d214ca1327c9ce48","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":11.58},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.10.0, < 2.10.1",">= 2.9.0, < 2.9.3","< 2.8.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:40:35.291563Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-xvwp-h6jv-7472","PYSEC-2026-3261"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-xvwp-h6jv-7472","PYSEC-2026-3383"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.8.4",">=2.9.0, <2.9.3",">=2.10.0, <2.10.1"],"patched":["2.8.4","2.9.3","2.10.1"],"from":["GHSA-xvwp-h6jv-7472","PYSEC-2026-1049"],"provenance":"source"}],"summary":{"text":"A heap out-of-bounds access flaw in TensorFlow's FractionalMaxPool and FractionalAVGPool operations arises from an illegal pooling_ratio value. An attacker who can get a crafted pooling_ratio into these operations, with the attack requiring high complexity and user interaction and low privileges, can read heap memory outside their control, potentially causing a crash or remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:49Z"},"euvd":{"id":"EUVD-2022-7468","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-29550","parents":[{"from":"CVE-2021-29550","to":"CVE-2022-41900","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/fractional_avg_pool_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/548b5eaf23685d86f722233d8fbc21d0a4aecb96","https://github.com/tensorflow/tensorflow/commit/216525144ee7c910296f5b05d214ca1327c9ce48"],"basis":"shared function","functions":["FractionalAvgPoolOp"]}]},{"from":"CVE-2022-21735","to":"CVE-2022-41900","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/fractional_max_pool_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/ba4e8ac4dc2991e350d5cc407f8598c8d4ee70fb","https://github.com/tensorflow/tensorflow/commit/216525144ee7c910296f5b05d214ca1327c9ce48"],"basis":"shared function","functions":["FractionalMaxPoolOp"]}]},{"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"}]}],"children":[{"from":"CVE-2022-41900","to":"CVE-2023-25801","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/fractional_max_pool_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/216525144ee7c910296f5b05d214ca1327c9ce48","https://github.com/tensorflow/tensorflow/commit/ee50d1e00f81f62a4517453f721c634bbb478307"],"basis":"shared function","functions":["FractionalAvgPoolOp","FractionalMaxPoolOp"]}]}]}}