9.8

CVE-2024-10918: libmodbus Stack-based Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2024-10918DEBIAN-CVE-2024-10918
Published 27-02-2025Last modified 01-08-2026

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 45.6% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.56%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 01-08-2026
    Last 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

EPSS trend

Probability

0.56%

Chance of exploitation in the next 30 days

Percentile

46%

Versus all other CVEs

30-day change

+0.02 pp

From 0.55% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.56%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libmodbus< 3.1.6-2.1+deb12u1 | < 3.1.11-1
Libmodbus1 product
Ubuntu1 product
  • libmodbusAll versions (No fix recorded)

3 vendors · 3 products

References

9 links