CVE-2025-46149 Details
Description
In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
A buffer overflow vulnerability has been identified in PyTorch versions prior to 2.7.0, specifically when the inductor compiler is used. This vulnerability occurs in the nn.Fold function, where an assertion error is thrown, leading to a denial-of-service condition.
Users can upgrade to PyTorch version 2.7.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a | [email protected] | Third Party Advisory |
| https://github.com/pytorch/pytorch/issues/147848 | [email protected] | Issue Tracking |
| https://github.com/pytorch/pytorch/pull/147961 | [email protected] | Issue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-617 | Reachable Assertion | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation pytorch | >= 2.6.0, < 2.7.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 3, 2025 | Initial Analysis | [email protected] |
| Sep 25, 2025 | CVE Modified | CISA-ADP |
| Sep 25, 2025 | New CVE Received | [email protected] |