PT-2026-49133 · Debevv · Nanomodbus

Burxonov Muslimbek

·

Published

2026-06-14

·

Updated

2026-06-14

·

CVE-2026-54410

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:C
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. The overflow corrupts the adjacent buffer-index field of the nanoMODBUS state structure, resulting in denial of service through invalid memory accesses and, on bare-metal and RTOS targets without memory protection, one-byte information disclosure and writes to unintended register addresses on the Write Multiple Registers (FC16) handler path.

Fix

Memory Corruption

Weakness Enumeration

Related Identifiers

CVE-2026-54410

Affected Products

Nanomodbus