7.5
CWE
119 122
EPSS
0.043%
Advisory Published
Advisory Published
Updated

CVE-2024-31580: Buffer Overflow

First published: Wed Apr 17 2024(Updated: )

PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/torch<2.2.0
2.2.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-31580?

    CVE-2024-31580 is classified as a critical vulnerability due to its potential to cause a Denial of Service (DoS) in affected systems.

  • How do I fix CVE-2024-31580?

    To fix CVE-2024-31580, upgrade to PyTorch version 2.2.0 or later.

  • What components are affected by CVE-2024-31580?

    CVE-2024-31580 affects the /runtime/vararg_functions.cpp component in PyTorch prior to version 2.2.0.

  • Can CVE-2024-31580 lead to data breaches?

    While CVE-2024-31580 primarily poses a risk of Denial of Service, it does not directly lead to data breaches.

  • Is CVE-2024-31580 present in PyTorch versions after 2.2.0?

    No, CVE-2024-31580 is not present in PyTorch versions 2.2.0 and later, as this vulnerability has been addressed.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203