CVE-2024-10918
CVE-2024-10918 is a medium-severity vulnerability in Libmodbus with a CVSS 3.x base score of 4.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Medium (CVSS 3.x base score 4.8)
- EPSS exploit prediction: 0% (31st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-53894
- Weakness: CWE-787
- Affected product: Libmodbus
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-10918?
- 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 severe is CVE-2024-10918?
- CVE-2024-10918 has a CVSS 3.x base score of 4.8, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability low.
- Is CVE-2024-10918 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (31st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-10918?
- CVE-2024-10918 affects Libmodbus. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-10918?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-10918 have an EU (EUVD) identifier?
- Yes. CVE-2024-10918 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-53894.
- When was CVE-2024-10918 published?
- CVE-2024-10918 was published on 2025-02-27 and last updated on 2026-06-17.
References
- https://www.nozominetworks.com/labs/vulnerability-advisories-cve-2024-10918
- https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html
Affected products (1)
- cpe:2.3:a:libmodbus:libmodbus:3.1.10:*:*:*:*:*:*:*
More vulnerabilities in Libmodbus
- CVE-2023-26793 — Critical (CVSS 9.8): libmodbus v3.1.10 has a heap-based buffer overflow vulnerability in read_io_status function in src/modbus.c.
- CVE-2019-14463 — Critical (CVSS 9.1): An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. There is an out-of-bounds read for the…
- CVE-2019-14462 — Critical (CVSS 9.1): An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. There is an out-of-bounds read for the…
- CVE-2022-0367 — High (CVSS 7.8): A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
- CVE-2024-36844 — High (CVSS 7.5): libmodbus v3.1.6 was discovered to contain a use-after-free via the ctx->backend pointer. This vulnerability allows…
- CVE-2024-36843 — High (CVSS 7.5): libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
All CVEs affecting Libmodbus →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…