Off-by-One Vulnerability in FreeModbus Affecting LINUXTCP Port
CVE-2026-71263

9.1CRITICAL

Key Information:

Vendor

Cwalter-at

Vendor
CVE Published:
5 August 2026

What is CVE-2026-71263?

The FreeModbus LINUXTCP port is susceptible to an off-by-one buffer overflow due to a flawed bounds check in the xMBPortTCPPool() function. This vulnerability allows an attacker to send a specially crafted Modbus TCP packet with a length field that exceeds the expected buffer size. The comparison improperly uses a 'greater-than' rather than a 'greater-than-or-equal' condition, resulting in a write operation exceeding the allocated buffer by 7 bytes, potentially corrupting adjacent memory. This flaw underscores the importance of rigorous validation in network protocols, particularly since Modbus lacks built-in authentication mechanisms.

Affected Version(s)

FreeModbus 0

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Alibek Baxtiyorov
.