Vulnerability · Published May 31, 2024 · Assigned by mitre

CVE-2024-36844

High 7.5

In plain English

A high-severity use-after-free in the libmodbus package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 50.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libmodbus3.1.6-2.1DEBIAN-CVE-2024-36844
Debian:13libmodbus3.1.6-2.1DEBIAN-CVE-2024-36844
Debian:14libmodbus3.1.6-2.1DEBIAN-CVE-2024-36844
Ubuntu:22.04:LTSlibmodbusno fix listedUBUNTU-CVE-2024-36844
Ubuntu:24.04:LTSlibmodbusno fix listedUBUNTU-CVE-2024-36844
Ubuntu:25.10libmodbusno fix listedUBUNTU-CVE-2024-36844
Ubuntu:26.04:LTSlibmodbusno fix listedUBUNTU-CVE-2024-36844
Ubuntu:26.10libmodbusno fix listedUBUNTU-CVE-2024-36844

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References