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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4084-1 libmodbus security update
EUVD EUVD EUVD-2024-53894 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.
Fixes

Solution

To fix this issue, it's suggested to update libmodbus to v3.1.11


Workaround

No workaround given by the vendor.

History

Tue, 29 Apr 2025 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Libmodbus
Libmodbus libmodbus
Weaknesses CWE-787
CPEs cpe:2.3:a:libmodbus:libmodbus:3.1.10:*:*:*:*:*:*:*
Vendors & Products Libmodbus
Libmodbus libmodbus

Tue, 04 Mar 2025 03:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 27 Feb 2025 12:00:00 +0000

Type Values Removed Values Added
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.
Title Stack-based Buffer Overflow in libmodbus library
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Nozomi

Published:

Updated: 2025-02-27T14:46:51.404Z

Reserved: 2024-11-06T09:29:36.151Z

Link: CVE-2024-10918

cve-icon Vulnrichment

Updated: 2025-02-27T14:46:47.204Z

cve-icon NVD

Status : Analyzed

Published: 2025-02-27T12:15:33.807

Modified: 2025-04-29T16:58:54.160

Link: CVE-2024-10918

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.