{"id":"CVE-2022-41897","published":"2022-11-18T00:00:00Z","modified":"2025-04-22T16:04:11Z","title":"`FractionalMaxPoolGrad` Heap out of bounds read in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. If `FractionMaxPoolGrad` is given outsize inputs `row_pooling_sequence` and `col_pooling_sequence`, TensorFlow will crash. We have patched the issue in GitHub commit d71090c3e5ca325bdf4b02eb236cfb3ee823e927. 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.00641,"percentile":0.5166,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-f2w8-jw48-fr7j","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/commit/d71090c3e5ca325bdf4b02eb236cfb3ee823e927","tags":[]},{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/fractional_max_pool_op.cc","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":10.33},{"name":"CVSS severity","points":3.36}]},"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":"partial","timestamp":"2025-04-22T15:42:01.244296Z","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-f2w8-jw48-fr7j","PYSEC-2026-3165"],"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-f2w8-jw48-fr7j","PYSEC-2026-3313"],"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-f2w8-jw48-fr7j","PYSEC-2026-984"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in the FractionalMaxPoolGrad operation of TensorFlow, a machine learning platform. An attacker who can get the crafted outsize row_pooling_sequence and col_pooling_sequence inputs to this operation, which requires network access, low privileges, and a user to take an action, can cause TensorFlow to crash, resulting in denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:42Z"},"euvd":{"id":"EUVD-2022-7320","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-29580","parents":[{"from":"CVE-2021-29580","to":"CVE-2022-41897","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/32fdcbff9d06d010d908fcc4bd4b36eb3ce15925","https://github.com/tensorflow/tensorflow/commit/d71090c3e5ca325bdf4b02eb236cfb3ee823e927"],"basis":"shared function","functions":["FractionalMaxPoolGradOp"]}]},{"from":"CVE-2022-35981","to":"CVE-2022-41897","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/8741e57d163a079db05a7107a7609af70931def4","https://github.com/tensorflow/tensorflow/commit/d71090c3e5ca325bdf4b02eb236cfb3ee823e927"],"basis":"shared function","functions":["FractionalMaxPoolGradOp"]}]}]}}