Logo
vulnerabilityCVE-2024-10918
Name
CVE-2024-10918
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libmodbus
Patched

Vulnerability Ratings#


4.8
CVSSv31
9.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
3.1.11
Not Affected
buildroot
master
3.1.12
Not Affected
openwrt
master
3.1.12-r1
Not Affected
openwrt
openwrt-25.12
3.1.12-r1
Not Affected
yocto
kirkstone
3.1.7
Patched
yocto
master
3.1.12
Not Affected

Resolved with patches#


libmodbus (yocto:kirkstone)

#
Title
Author
Resolve
1
Check length passed to modbus_reply (write_bit)
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918
2
Check length passed to modbus_reply (write_register)
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918
3
Fix request length check in modbus_reply in RTU
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918

libmodbus (yocto:kirkstone)

#
Title
Author
Resolve
1
Check length passed to modbus_reply (write_bit)
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918
2
Check length passed to modbus_reply (write_register)
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918
3
Fix request length check in modbus_reply in RTU
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918

libmodbus (yocto:scarthgap)

#
Title
Author
Resolve
1
Check length passed to modbus_reply (write_bit)
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918
2
Fix request length check in modbus_reply in RTU
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918
3
Check length passed to modbus_reply (write_register)
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918
4
Small cleanups of unit test server
=?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
CVE-2024-10918