Vulnerability · Published Feb 27, 2025 · Assigned by Nozomi
CVE-2024-10918Stack-based Buffer Overflow in libmodbus library
Medium 4.8
In plain English
A medium-severity stack buffer overflow in libmodbus from libmodbus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.6%top 53.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libmodbus | 3.1.6-2.1+deb12u1 | DEBIAN-CVE-2024-10918 |
| Debian:13 | libmodbus | 3.1.11-1 | DEBIAN-CVE-2024-10918 |
| Debian:14 | libmodbus | 3.1.11-1 | DEBIAN-CVE-2024-10918 |
| Ubuntu:22.04:LTS | libmodbus | no fix listed | UBUNTU-CVE-2024-10918 |
| Ubuntu:24.04:LTS | libmodbus | no fix listed | UBUNTU-CVE-2024-10918 |
Affected products (as reported)
Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L