# CVE-2025-46149: In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2025-09-25T00:00:00.000Z
- Modified: 2026-11-05T23:10:00.150Z
- Also known as: PYSEC-2025-199, BIT-PYTORCH-2025-46149
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linuxfoundation pytorch: from 2.6.0 before 2.7.0
- torch (PyPI): from 2.6.0 before 2.7.0
- pytorch (Bitnami): from 2.6.0 before 2.7.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/pytorch/pytorch/issues/147848> (issue-tracking, report)
- <https://github.com/pytorch/pytorch/pull/147961> (fix, issue-tracking, patch)
- <https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46149> (web)

## Sources

- CVE List: [CVE-2025-46149](https://www.cve.org/CVERecord?id=CVE-2025-46149), CVE Terms of Use, modified 2025-09-25
- NVD: [CVE-2025-46149](https://nvd.nist.gov/vuln/detail/CVE-2025-46149), Public domain, modified 2026-11-05
- PyPA Advisory Database: [PYSEC-2025-199](https://osv.dev/vulnerability/PYSEC-2025-199), CC-BY-4.0, modified 2026-05-20
- Bitnami Vulnerability Database: [BIT-PYTORCH-2025-46149](https://osv.dev/vulnerability/BIT-PYTORCH-2025-46149), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-46149 · Whole record: https://cve.day/CVE-2025-46149.json · Rebuilt by cve.day 2026-11-25T22:59:05.164Z
