CVE-2025-2999

Source
https://cve.org/CVERecord?id=CVE-2025-2999
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2999.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-2999
Aliases
Downstream
Published
2025-03-31T14:31:04.982Z
Modified
2026-07-08T08:12:02.337527179Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2999.json",
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-119"
    ]
}
References

Affected packages

Git / github.com/pytorch/pytorch

Affected ranges

Type
GIT
Repo
https://github.com/pytorch/pytorch
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ],
    "cpe": "cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*",
    "extracted_events": [
        {
            "introduced": "2.6.0"
        },
        {
            "last_affected": "2.6.0"
        },
        {
            "introduced": "2.6.0-NA"
        },
        {
            "last_affected": "2.6.0-NA"
        }
    ]
}

Affected versions

2.*
2.6.0
2.6.0-NA
v2.*
v2.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2999.json"