CVE-2026-54410 HIGH

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

Vendor Debevv
Product nanoMODBUS
Weakness CWE-193
Published June 14, 2026
Last update August 10, 2026

CVSS base score

7.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P/AU:Y

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 14, 2026 CVE published
August 10, 2026 Record updated