Vulnerability · Published Jun 14, 2026 · Assigned by TuranSec
CVE-2026-54410nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field
High 8.6
In plain English
A high-severity out-of-bounds write in nanoMODBUS from debevv. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).
Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.5%top 54.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| debevv | nanoMODBUS | 0 – through 1.23.0 |
Weakness: CWE-193, CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- nanoMODBUS - upstream repository (vendor) product
- Vulnerable bounds check at nanomodbus.c line 369 (v1.23.0) product
- CWE-193: Off-by-one Error technical-description
- CWE-787: Out-of-bounds Write technical-description