CVE-2024-36845: Medium severity libmodbus libmodbus vulnerability

Published May 31, 2024
·
Updated

An invalid pointer in the modbusreceive() function of libmodbus v3.1.6 allows attackers to cause a Denial of Service (DoS) via a crafted message sent to the unit-test-server.

Affected Software

6 affected componentsFixes available
libmodbus libmodbus
libmodbus libmodbus=3.1.6
debian/libmodbus<3.1.6-2.1
3.1.6-2.1
debian/libmodbus<3.1.6-2.1
3.1.6-2.1
debian/libmodbus<3.1.6-2.1
3.1.6-2.1
debian/libmodbus
3.1.6-2.13.1.6-2.1+deb12u13.1.11-23.2.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.1.6-2.1
  2. Upgrade

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

    Fixed in 3.1.6-2.1Fixed in 3.1.6-2.1+deb12u1Fixed in 3.1.11-2Fixed in 3.2.0-1

Event History

May 31, 2024
CVE Published
via MITRE·07:16 PM
Data Sourced
via MITRE·07:16 PM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-36845?

CVE-2024-36845 is classified as a high-severity vulnerability due to its potential to cause Denial of Service (DoS).

2

How do I fix CVE-2024-36845?

To mitigate CVE-2024-36845, update to the latest version of libmodbus beyond v3.1.6 where the issue is resolved.

3

What type of vulnerability is CVE-2024-36845?

CVE-2024-36845 is a vulnerability resulting from an invalid pointer in the modbus_receive() function.

4

Which versions of libmodbus are affected by CVE-2024-36845?

CVE-2024-36845 affects libmodbus version v3.1.6 and potentially earlier versions.

5

What impact does CVE-2024-36845 have on systems?

CVE-2024-36845 can allow attackers to send crafted messages that cause a Denial of Service (DoS) to the affected system.

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