Security mailing lists by PureSourceCode

CVE-2025-2999

MEDIUM 4.8CVSS 4.0

PyTorch is vulnerable to memory corruption through its unpack_sequence function

A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

Published
31 Mar 2025
Last modified
13 Jul 2026
Assigned by
cna@vuldb.com
NVD status
Analyzed
Weakness
CWE-119
Also known as
BIT-pytorch-2025-2999GHSA-vgrw-7cvw-pwgxPYSEC-2025-193
Sources
NVDJSONOSV GHSA-vgrw-7cvw-pwgxJSONOSV PYSEC-2025-193JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@vuldb.com (Secondary) CVSS 4.0 MEDIUM 4.8 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD cna@vuldb.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD cna@vuldb.com (Secondary) CVSS 2.0 MEDIUM 4.3 AV:L/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation pytorch
cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*
= 2.6.0
OSV PyPI torch < 2.9.1 2.9.1
OSV PyPI torch <= 2.6.0-NA

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 31 Mar 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.