🛡️ CVE-2024-10918 — libmodbus

🟡 CVSS 4.8 — Medium ✅ No Known Exploit CWE-121 NVD
4.8
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability low.

Weakness class

CVE-2024-10918 is classified as CWE-121: Stack-based Buffer Overflow. An oversized write to a stack buffer overwrites saved state such as return addresses, which can redirect execution.

Affected software and timeline

Affected software: libmodbus. Published on 27 February 2025 and last revised on 1 August 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

CVE-2024-10918 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 4.8
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
CWE CWE-121
Public Exploit ✅ No
Source NVD
Published 2025-02-27
Updated 2026-08-11
Modified 2026-08-01
Fix URL N/A

Affected Packages

Software From version Fixed in
libmodbus

Vulnerability Monitoring

Track new vulnerabilities in libmodbus

CVE-2024-10918 is rated CVSS 4.8 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.