CWE
121 119
Advisory Published
Updated

CVE-2024-10918: Stack-based Buffer Overflow in libmodbus library

First published: Thu Feb 27 2025(Updated: )

Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries to reply to a Modbus request with an unexpected length.

Credit: prodsec@nozominetworks.com

Affected SoftwareAffected VersionHow to fix
libmodbus

Remedy

To fix this issue, it's suggested to update libmodbus to v3.1.11

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-10918?

    CVE-2024-10918 has a high severity rating due to its potential to cause a stack-based buffer overflow.

  • How do I fix CVE-2024-10918?

    To fix CVE-2024-10918, update libmodbus to the latest version that addresses this vulnerability.

  • What systems are affected by CVE-2024-10918?

    CVE-2024-10918 affects all installations of libmodbus v3.1.10.

  • What type of attack can CVE-2024-10918 enable?

    CVE-2024-10918 can enable attackers to execute arbitrary code or crash the application due to the buffer overflow.

  • Is there a workaround for CVE-2024-10918 if immediate patching isn't possible?

    If patching isn't possible for CVE-2024-10918, limiting access to the Modbus interface may help mitigate the risk.

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