CVE-2024-10918: Stack-based Buffer Overflow in libmodbus library
Vulnerability summary
CVE-2024-10918 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in libmodbus. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 47.9% of scored vulnerabilities.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 01-08-2026Last modifiedVulnerability information updated.
Description
Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries to reply to a Modbus request with an unexpected length.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.56% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- libmodbus< 3.1.11-1 | < 3.1.6-2.1+deb12u1
Libmodbus1 product
- libmodbus≤ 3.1.10 | 3.1.10
Ubuntu1 product
- libmodbusAll versions (No fix recorded)
3 vendors · 3 products