CVE-2026-54410

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

State
Published
Severity
7.8 High
Published
Jun 14, 2026
Updated
Aug 10, 2026
Reserved
Jun 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.8 HighCVSS: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:YTuranSec
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HTuranSec
2.09.0 HighAV:N/AC:L/Au:N/C:P/I:P/A:CTuranSec

Weaknesses

Affected Products

ProductVersions
nanoMODBUSdebevv
  • 1.23.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.