Vulnerability · Published May 31, 2024 · Assigned by mitre

CVE-2024-36843

High 7.5

In plain English

A high-severity heap buffer overflow 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.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 43.6% 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 heap overflow via the modbus_mapping_free() function.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

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

References