{"id":"CVE-2023-25664","published":"2023-03-24T23:40:40Z","modified":"2025-02-19T20:39:09Z","title":"TensorFlow vulnerable to Heap Buffer Overflow in AvgPoolGrad","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"TensorFlow is an open source platform for machine learning. Prior to versions 2.12.0 and 2.11.1, there is a heap buffer overflow in TAvgPoolGrad. A fix is included in TensorFlow 2.12.0 and 2.11.1.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00415,"percentile":0.36728,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-6hg6-5c2q-7rcr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/ddaac2bdd099bec5d7923dea45276a7558217e5b","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":7.35},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 2.11.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-02-19T20:38:56.264017Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-6hg6-5c2q-7rcr","PYSEC-2026-3122"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-6hg6-5c2q-7rcr","PYSEC-2026-1951"],"provenance":"source"}],"summary":{"text":"TensorFlow contains a heap buffer overflow in the TAvgPoolGrad operation, which is part of the platform's machine learning library. An attacker with network access and no privileges or user interaction can trigger the overflow, causing a denial of service through a crash of the affected process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:52Z"},"euvd":{"id":"EUVD-2023-0906","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2022-35941","parents":[{"from":"CVE-2022-35941","to":"CVE-2023-25664","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/avgpooling_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/3a6ac52664c6c095aa2b114e742b0aa17fdce78f","https://github.com/tensorflow/tensorflow/commit/ddaac2bdd099bec5d7923dea45276a7558217e5b"],"basis":"shared function","functions":["AvgPoolingGradOp"]}]},{"from":"CVE-2022-35968","to":"CVE-2023-25664","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/core/kernels/avgpooling_op.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/3a6ac52664c6c095aa2b114e742b0aa17fdce78f","https://github.com/tensorflow/tensorflow/commit/ddaac2bdd099bec5d7923dea45276a7558217e5b"],"basis":"shared function","functions":["AvgPoolingGradOp"]}]}]}}