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, 04 Nov 2025 06:30:00 +0900

Type Values Removed Values Added
References

Wed, 30 Apr 2025 02:15:00 +0900

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 12:45:00 +0900

Type Values Removed Values Added
Metrics ssvc

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


Thu, 27 Feb 2025 21:00:00 +0900

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Nozomi

Published:

Updated: 2025-11-03T20:36:25.510Z

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

Link: CVE-2024-10918

cve-icon Vulnrichment

Updated: 2025-11-03T20:36:25.510Z

cve-icon NVD

Status : Modified

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

Modified: 2025-11-03T21:16:04.100

Link: CVE-2024-10918

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses