Skip to content
OpenAdvisories
High · 8.6 CVE-2026-54410 EUVD-2026-36661GHSA-6f53-f2m4-6j2h

nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field

Published Jun 14, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

Description

nanoMODBUS through v1.23.0 contains an off-by-one buffer overflow in the recv_msg_header function of the Modbus/TCP server that allows remote unauthenticated attackers to write one attacker-controlled byte past the end of the 260-byte receive buffer by sending a crafted MBAP frame whose Length field is set to 255.

Affected products

VendorProductAffectedFixed
debevv nanoMODBUS ≤ 1.23.0 —

References