libmodbus Stack-Based Buffer Overflow Vulnerability

Vulnerability

A stack-based buffer overflow vulnerability has been identified in libmodbus version 3.1.10. This vulnerability occurs when the library attempts to respond to a Modbus request with an unexpected length, leading to an overflow of the buffer allocated for the Modbus response.

Impact

Exploiting this vulnerability causes a stack-based buffer overflow, which can potentially lead to arbitrary code execution or a denial-of-service condition.

Remediation

Users are advised to update libmodbus to version 3.1.11.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
0.6
exploitability
7.4
remediation
7.7
relevance
0.0
threat
0.0
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.