{"id":"CVE-2025-2998","published":"2025-03-31T14:00:12Z","modified":"2025-03-31T15:27:27Z","title":"PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability was found in PyTorch 2.6.0. It has been declared as critical. Affected by this vulnerability is the function torch.nn.utils.rnn.pad_packed_sequence. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00202,"percentile":0.10323,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://vuldb.com/?id.302047","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.302047","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.524151","tags":["third-party-advisory"]},{"url":"https://github.com/pytorch/pytorch/issues/149622","tags":["issue-tracking"]},{"url":"https://github.com/pytorch/pytorch/issues/149622#issue-2935495265","tags":["exploit","issue-tracking"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":2.06},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"PyTorch","versions":["2.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-31T15:27:13.920920Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"torch","vulnerableRanges":["<=2.6.0","<=2.6.0-NA"],"patched":[],"from":["GHSA-f4hp-rmr7-r7v8","PYSEC-2025-192"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-8748","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/pytorch/pytorch/issues/149622#issue-2935495265"]}