CVE.RADIO
FREN

CVE-2026-71263

cwalter-at FreeModbusVulnerabilityCVSS 9.1

The LINUXTCP port of FreeModbus contains an off-by-one bounds check in xMBPortTCPPool() (demo/LINUXTCP/port/porttcp.c). The check `if (usTCPFrameBytesLeft > MB_TCP_BUF_SIZE)` uses a strict greater-than comparison instead of greater-than-or-equal against the 263-byte MB_TCP_BUF_SIZE limit. An MBAP frame with a Length field of 264 makes usTCPFrameBytesLeft equal to 263, which passes the flawed check, and the subsequent recv() call writes up to 263 bytes starting at buffer offset 7 into the 263-byte static buffer aucTCPBuf, overflowing it by 7 bytes into the adjacent static variable usTCPBufPos. A single crafted, unauthenticated Modbus TCP packet triggers the overflow, since Modbus has no built-in authentication.

No public exploitation has been reported so far. No distribution fix is listed yet; apply vendor mitigations and monitor.

Recommended action: Track your distribution's security tracker and apply the fix as soon as it ships.

CVE-2026-71263 cwalter-at FreeModbus Vulnerability

Severity metrics

CVSS 3.1 : 9.1 CRITICAL

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactNone
Integrity impactHigh
Availability impactHigh

Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected & fixed versions by distribution

Versions are the native distribution strings (backport-aware): RHEL/Debian/SUSE backport fixes, so compare with the distro version comparator (dpkg / rpm / vercmp), not the upstream version.

No affected package in the tracked watchlist yet (Debian, Ubuntu, Arch, SUSE, Red Hat...). Triage may still be pending.

Sources

Published 2026-08-05 · source: NVD