CVE-2025-55554: pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
CVE-2025-55554 is a vulnerability in pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long()., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.3 (Medium). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.30% probability of exploitation activity in the next 30 days, higher than 25% of all scored vulnerabilities. Microsoft released the fix on 4 October 2025, outside Patch Tuesday. It affects 15 products in 2 product families (Open Source Software, Mariner).
Key facts
- CVE ID
- CVE-2025-55554
- Severity
- Medium CVSS 5.3
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-190
- EPSS
- 0.30% (percentile 25%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- September 2025 Patch Tuesday
- Product families
- Open Source Software, Mariner
CVSS score and vector
Microsoft scores CVE-2025-55554 at 5.3 (temporal 5.3) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | Low |
Frequently asked questions (Microsoft)
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products (15)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| cbl2 pytorch 2.0.0-9 on CBL Mariner 2.0 | ||||
| azl3 pytorch 2.2.2-9 on Azure Linux 3.0 | ||||
| cbl2 pytorch 2.0.0-12 on CBL Mariner 2.0 | ||||
| cbl2 pytorch 2.0.0-14 on CBL Mariner 2.0 | ||||
| azl3 pytorch 2.2.2-12 on Azure Linux 3.0 | ||||
| cbl2 pytorch 2.0.0-15 on CBL Mariner 2.0 | ||||
| azl3 pytorch 2.2.2-15 on Azure Linux 3.0 | ||||
| cbl2 pytorch 2.0.0-11 on CBL Mariner 2.0 | ||||
| azl3 pytorch 2.2.2-10 on Azure Linux 3.0 | ||||
| azl3 pytorch 2.2.2-11 on Azure Linux 3.0 | ||||
| azl3 pytorch 2.2.2-14 on Azure Linux 3.0 | ||||
| azl3 pytorch 2.2.2-16 on Azure Linux 3.0 | ||||
| azl3 pytorch 2.2.2-17 on Azure Linux 3.0 | Release Notes | Security Update | ||
| cbl2 pytorch 2.0.0-15 on CBL-Mariner 2.0 | Release Notes | Security Update |
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 pytorch 2.2.2-7 on Azure Linux 3.0 |
NIST NVD data
- NVD status
- Analyzed
- NVD CVSS
- 5.3 (MEDIUM)
- NVD weakness
- CWE-190
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| pytorch | up to and including 2.8.0 |
References
- https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc (Third Party Advisory)
- https://github.com/pytorch/pytorch/issues/151510 (Issue Tracking)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. | |
| 4.0 | Information published. | |
| 5.0 | Information published. | |
| 6.0 | Information published. | |
| 7.0 | Information published. | |
| 8.0 | Information published. | |
| 9.0 | Information published. | |
| 10.0 | Information published. | |
| 11.0 | Information published. | |
| 12.0 | Information published. | |
| 13.0 | Information published. |