CVE-2024-36844: Use After Free

Published May 31, 2024
·
Updated

libmodbus v3.1.6 was discovered to contain a use-after-free via the ctx->backend pointer. This vulnerability 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-36844?

CVE-2024-36844 has a severity rating that indicates it can lead to Denial of Service (DoS).

2

How do I fix CVE-2024-36844?

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

3

What can an attacker achieve with CVE-2024-36844?

An attacker can exploit CVE-2024-36844 to cause a Denial of Service by sending a crafted message to the unit-test-server.

4

Which version of libmodbus is affected by CVE-2024-36844?

CVE-2024-36844 affects libmodbus version 3.1.6.

5

What is a use-after-free vulnerability in the context of CVE-2024-36844?

A use-after-free vulnerability, like CVE-2024-36844, occurs when a program continues to use a memory location after it has been freed, potentially leading to crashes or unexpected behavior.

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