UBUNTU-CVE-2025-2998

Source
https://ubuntu.com/security/CVE-2025-2998
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2998.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-2998
Upstream
Published
2025-03-31T14:15:00Z
Modified
2025-07-14T04:52:42Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 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
  • Ubuntu - medium
Summary
[none]
Details

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.padpackedsequence. 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.

References

Affected packages

Ubuntu:22.04:LTS / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch@1.8.1-4?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7.1-7
1.8.1-4

Ubuntu:25.04 / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch@2.6.0+dfsg-5build1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.1-1ubuntu1
2.4.1-1ubuntu3
2.5.1+dfsg-3
2.5.1+dfsg-4build1
2.5.1+dfsg-4build2
2.6.0+dfsg-3
2.6.0+dfsg-4
2.6.0+dfsg-5
2.6.0+dfsg-5build1