Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries… (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.
AI Analysis
Technical Summary
CVE-2024-10918 describes a stack-based buffer overflow in libmodbus v3.1.10. The flaw arises when the function handling Modbus responses attempts to reply to a request with an unexpected length, causing the buffer allocated for the response to overflow. This vulnerability is categorized under CWE-121 (Stack-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The CVSS 3.1 vector indicates network attack vector with high attack complexity, no privileges required, no user interaction, and impacts integrity and availability with low and low impact respectively. There is no information about available patches or fixes.
Potential Impact
Exploitation of this vulnerability could lead to integrity and availability impacts due to the buffer overflow condition. Specifically, an attacker could cause a crash or potentially execute arbitrary code by sending a specially crafted Modbus request with an unexpected length. However, the attack complexity is high and no known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting network access to the affected libmodbus service and monitor for anomalous Modbus traffic with unexpected lengths. Avoid processing untrusted Modbus requests if possible.
Stack-based Buffer Overflow vulnerability in libmodbus v3.1.10 allows to overflow the buffer allocated for the Modbus response if the function tries… (CVE-2024-10918)
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.
CVSS v3.1
Score 4.8medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-10918 describes a stack-based buffer overflow in libmodbus v3.1.10. The flaw arises when the function handling Modbus responses attempts to reply to a request with an unexpected length, causing the buffer allocated for the response to overflow. This vulnerability is categorized under CWE-121 (Stack-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The CVSS 3.1 vector indicates network attack vector with high attack complexity, no privileges required, no user interaction, and impacts integrity and availability with low and low impact respectively. There is no information about available patches or fixes.
Potential Impact
Exploitation of this vulnerability could lead to integrity and availability impacts due to the buffer overflow condition. Specifically, an attacker could cause a crash or potentially execute arbitrary code by sending a specially crafted Modbus request with an unexpected length. However, the attack complexity is high and no known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider restricting network access to the affected libmodbus service and monitor for anomalous Modbus traffic with unexpected lengths. Avoid processing untrusted Modbus requests if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-96xh-5wq4-m4cc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2024-10918"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a6e8c2abf32cb7a3493e7e7
Added to database: 08/02/2026, 00:15:38 UTC
Last enriched: 08/02/2026, 00:19:55 UTC
Last updated: 09/14/2026, 22:01:25 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.