CVE-2025-55554
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-...
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
CVE-2025-55554- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2025-31130
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
EUVD-2025-31130- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-f9wh-qr6g-v2h4
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-...
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
GHSA-f9wh-qr6g-v2h4- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-190
- Updated
- 2026-11-02
NVD
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
CVE-2025-55554- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-190
- Updated
- 2026-11-06
OSV
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
CVE-2025-55554- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-07
OSVDEBIAN-CVE-2025-55554
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
DEBIAN-CVE-2025-55554- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-06
Show 5 moreShow less
OSVPYSEC-2025-206
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
PYSEC-2025-206- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-55554
5.3
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
UBUNTU-CVE-2025-55554- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVAZL-68106 No score
CVE-2025-55554 affecting package pytorch 2.2.2-17
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
AZL-68106- Updated
- 2026-11-05
OSVAZL-68123 No score
CVE-2025-55554 affecting package pytorch 2.0.0-14
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
AZL-68123- Updated
- 2026-11-02
OSVBIT-pytorch-2025-55554 No score
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
- Record
BIT-pytorch-2025-55554- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pytorchAzure Linux:3 |
through 2.2.2-17 | None known |
pytorchAzure Linux:2 |
through 2.0.0-14 | None known |
pytorchBitnami |
before 2.9.0 | 2.9.0 |
pytorchDebian:12 |
All versions, plus listed versions 1.13.1+dfsg-41.13.1+dfsg-52.0.1+dfsg-12.0.1+dfsg-1~exp12.0.1+dfsg-2 Show 36 moreShow less2.0.1+dfsg-42.0.1+dfsg-52.1.2+dfsg-12.1.2+dfsg-22.1.2+dfsg-42.12.0+dfsg2-12.12.0+dfsg2-1~exp12.12.0+dfsg2-1~exp22.12.0+dfsg2-22.12.0+dfsg2-32.12.0+dfsg2-42.12.1+dfsg-12.12.1+dfsg-22.14.1+dfsg-12.14.1+dfsg-1~exp12.4.1-12.4.1-32.4.1-42.5.0+dfsg-12.5.1+dfsg-12.5.1+dfsg-32.5.1+dfsg-42.6.0+dfsg-12.6.0+dfsg-1~exp12.6.0+dfsg-22.6.0+dfsg-32.6.0+dfsg-42.6.0+dfsg-52.6.0+dfsg-72.6.0+dfsg-82.6.0+dfsg-92.6.0~rc9+dfsg-1~exp12.9.0+dfsg-1~exp12.9.0+dfsg-1~exp22.9.1+dfsg-1~exp12.9.1+dfsg-1~exp2 |
None known |
pytorchDebian:13 |
All versions, plus listed versions 2.12.0+dfsg2-12.12.0+dfsg2-1~exp12.12.0+dfsg2-1~exp22.12.0+dfsg2-22.12.0+dfsg2-3 Show 12 moreShow less2.12.0+dfsg2-42.12.1+dfsg-12.12.1+dfsg-22.14.1+dfsg-12.14.1+dfsg-1~exp12.6.0+dfsg-72.6.0+dfsg-82.6.0+dfsg-92.9.0+dfsg-1~exp12.9.0+dfsg-1~exp22.9.1+dfsg-1~exp12.9.1+dfsg-1~exp2 |
None known |
pytorchDebian:14 |
All versions, plus listed versions 2.12.0+dfsg2-12.12.0+dfsg2-1~exp12.12.0+dfsg2-1~exp22.12.0+dfsg2-22.12.0+dfsg2-3 Show 12 moreShow less2.12.0+dfsg2-42.12.1+dfsg-12.12.1+dfsg-22.14.1+dfsg-12.14.1+dfsg-1~exp12.6.0+dfsg-72.6.0+dfsg-82.6.0+dfsg-92.9.0+dfsg-1~exp12.9.0+dfsg-1~exp22.9.1+dfsg-1~exp12.9.1+dfsg-1~exp2 |
None known |
torchPyPI |
before 2.9.0, plus listed versions 1.0.01.0.11.1.01.10.01.10.1 Show 37 moreShow less1.10.21.11.01.12.01.12.11.13.01.13.11.2.01.3.01.3.11.4.01.5.01.5.11.6.01.7.01.7.11.8.01.8.11.9.01.9.12.0.02.0.12.1.02.1.12.1.22.2.02.2.12.2.22.3.02.3.12.4.02.4.12.5.02.5.12.6.02.7.02.7.12.8.0 |
2.9.0 |
pytorchUbuntu:22.04:LTS |
All versions, plus listed versions 1.7.1-71.8.1-4 |
None known |
pytorchUbuntu:25.10 |
All versions, plus listed versions 2.6.0+dfsg-5build12.6.0+dfsg-7 |
None known |
pytorchUbuntu:26.10 |
All versions, plus listed versions 2.9.1+dfsg-1~exp1ubuntu22.12.1+dfsg-1 |
None known |
pytorchUbuntu:26.04:LTS |
All versions, plus listed versions 2.6.0+dfsg-72.6.0+dfsg-92.9.1+dfsg-1~exp1ubuntu2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | NVD, OSV | |
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-55554 is a medium vulnerability (CVSS 5.3) in Linuxfoundation Pytorch, published September 25, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 24th percentile. Fixed in pytorch 2.9.0.
References
github.com/pytorch/pytorch/issues/151510
gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc
nvd.nist.gov/vuln/detail/CVE-2025-55554
github.com/advisories/GHSA-f9wh-qr6g-v2h4
github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55554.json
security-tracker.debian.org/tracker/CVE-2025-55554
ubuntu.com/security/CVE-2025-55554
cve.org/CVERecord?id=CVE-2025-55554