CVE-2024-36843: libmodbus Heap-based Buffer Overflow
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2024-36843DEBIAN-CVE-2024-36843
Published 31-05-2024Last modified 03-11-2025
Vulnerability summary
CVE-2024-36843 is a high (CVSS 7.5) Heap-based Buffer Overflow vulnerability in libmodbus. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.5% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
7.5/10
010
High · v3.1 (CVE.org)EPSS score
0.79%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 31-05-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
CVSS metrics
4 scores · 4 sources · 1 versionHigh 7.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.79%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
0.00 pp
From 0.79% on 20-09-2026
20-09-202620-10-2026
EPSS score0.79%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundLibmodbus
Maturity: poc
Libmodbuspoc
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian1 product
- libmodbus< 3.1.6-2.1
Libmodbus1 product
- libmodbus3.1.6
Ubuntu1 product
- libmodbusAll versions (No fix recorded)
3 vendors · 3 products