CVE-2026-54410

8.6 HIGH
Published: June 14, 2026 Modified: June 14, 2026
View on NVD

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. 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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://cwe.mitre.org/data/definitions/193.html
Source: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
https://cwe.mitre.org/data/definitions/787.html
Source: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
https://github.com/debevv/nanoMODBUS
Source: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.6 / 10.0
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)