CVE-2025-46148
MEDIUMCVSS 5.3/10EPSS 0.37%
Last modified
CVE-2025-46148 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Pytorch | <= 2.6.0 |
References
- https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248aThird Party Advisory
- https://gist.github.com/shaoyuyoung/65a587a579dfdff887b9b35bb79b9093Third Party Advisory
- https://github.com/pytorch/pytorch/issues/151198Issue Tracking
- https://github.com/pytorch/pytorch/pull/152993Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-46148?
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
How severe is CVE-2025-46148?
CVE-2025-46148 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 0.37% probability of exploitation in the next 30 days.
How do I fix CVE-2025-46148?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-46120An issue was discovered in CommScope Ruckus Unleashed prior …9.8
- CVE-2025-46121An issue was discovered in CommScope Ruckus Unleashed prior …9.8
- CVE-2025-46122An issue was discovered in CommScope Ruckus Unleashed prior …9.1
- CVE-2025-46123An issue was discovered in CommScope Ruckus Unleashed prior …7.2
- CVE-2025-4613Path traversal in Google Web Designer's template handling ve…8.8
- CVE-2025-4614An information disclosure vulnerability in Palo Alto Network…2.7
- CVE-2025-46149In PyTorch before 2.7.0, when inductor is used, nn.Fold has …5.3
- CVE-2025-4615An improper input neutralization vulnerability in the manage…7.2
- CVE-2025-46150In PyTorch before 2.7.0, when torch.compile is used, Fractio…5.3
- CVE-2025-46152In PyTorch before 2.7.0, bitwise_right_shift produces incorr…5.3
- CVE-2025-46153PyTorch before 3.7.0 has a bernoulli_p decompose function in…5.3
- CVE-2025-46154Foxcms v1.25 has a SQL time injection in the $_POST['dbname'…8.4
Are you affected by CVE-2025-46148?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
