Critical severity · published Feb 27, 2025
CVE-2024-10918
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…
9.8
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libmodbus · Libmodbus
3.1.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-10918
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-10918
Third Party Advisory
https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2024-10918
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html
lists.debian.org
https://lists.debian.org/debian-lts-announce/2026/08/msg00003.html
More from Libmodbus
9.8
CVE-2023-26793
libmodbus v3.1.10 has a heap-based buffer overflow vulnerability in read_io_status function in src/modbus.c
9.1
CVE-2019-14463
An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5
9.1
CVE-2019-14462
An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5
7.8
CVE-2022-0367
A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c
7.5
CVE-2024-36844
libmodbus v3.1.6 was discovered to contain a use-after-free via the ctx->backend pointer
