CVE-2025-55558: Buffer Overflow

Published Sep 25, 2025
·
Updated

A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a Denial of Service (DoS).

Affected Software

13 affected componentsFixes available
PyTorch PyTorch
Microsoft cbl2 pytorch 2.0.0-9
Microsoft azl3 pytorch 2.2.2-7
IBM Concert Software<=1.0.0-3.0.0
linuxfoundation Pytorch Python<=2.7.0
debian/pytorch*
debian/pytorch*
debian/pytorch<2.12.0+dfsg2-1
2.12.0+dfsg2-1
debian/pytorch<=1.13.1+dfsg-4, <=2.6.0+dfsg-7
2.12.0+dfsg2-1
ubuntu/pytorch*
ubuntu/pytorch*
ubuntu/pytorch*
ubuntu/pytorch*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/pytorch to a version that resolves this vulnerability.

    Fixed in 2.12.0+dfsg2-1

Event History

Sep 25, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
Description
Sep 26, 2025
Data Sourced
via NVD·08:15 PM
SeverityWeakness
Oct 2, 2025
Data Sourced
via Microsoft·01:05 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:05 AM
Affected Software
Oct 3, 2025
Data Sourced
via NVD·06:06 PM
RemedyAffected Software
Sep 22, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-55558?

CVE-2025-55558 is classified as a Denial of Service (DoS) vulnerability due to a buffer overflow in PyTorch.

2

How do I fix CVE-2025-55558?

To fix CVE-2025-55558, upgrade to a version of PyTorch that does not include the buffer overflow vulnerability.

3

Which versions of PyTorch are affected by CVE-2025-55558?

CVE-2025-55558 specifically affects PyTorch version 2.7.0.

4

What components of PyTorch are involved in CVE-2025-55558?

CVE-2025-55558 involves the components torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() when compiled by Inductor.

5

What type of attack can CVE-2025-55558 lead to?

CVE-2025-55558 can lead to a Denial of Service (DoS), potentially disrupting the availability of the affected application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203