Skip to main content
EPSS 0.5%top 56%

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)

0
Medium
Published: 02/27/2025 (02/27/2025, 12:30:55 UTC)
Source: GCVE Database

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected software

Affected versions
=3.1.10

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/02/2026, 00:19:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses