CVE-2024-10918

Stack-based Buffer Overflow in libmodbus library

Published Feb 27, 2025 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4084-1 libmodbus security update
Debian DLA Debian DLA DLA-4714-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.
History
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
Type Values Removed Values Added
Metrics ssvc

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

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
Nozomi
Published
Updated
Aug 1, 2026, 6:20 PM
Reserved
Nov 6, 2024, 9:29 AM
Status
Modified
Published
Feb 27, 2025, 12:15 PM
Modified
Aug 1, 2026, 7:16 PM