CVE-2026-54410: CWE-193 Off-by-one Error in debevv nanoMODBUS
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.
AI Analysis
Technical Summary
CVE-2026-54410 describes an off-by-one buffer overflow in the recv_msg_header function of the Modbus/TCP server component of debevv nanoMODBUS through version 1.23.0. The vulnerability arises because the function improperly handles the Length field in the MBAP frame, allowing an attacker to write one byte past the allocated 260-byte receive buffer. This can be triggered remotely without authentication by sending a specially crafted MBAP frame with the Length field set to 255. The flaw is categorized under CWE-193 (Off-by-one Error) and CWE-787 (Out-of-bounds Write). No official patch or remediation guidance is currently available from the vendor.
Potential Impact
Successful exploitation allows a remote unauthenticated attacker to cause a buffer overflow by writing one byte beyond the buffer boundary. This could lead to memory corruption, potentially resulting in denial of service or other undefined behavior. The CVSS 4.0 score of 7.8 reflects a high severity with low attack complexity and no required privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider implementing network-level protections such as filtering or blocking untrusted Modbus/TCP traffic to reduce exposure. Monitor vendor channels for updates regarding an official fix.
CVE-2026-54410: CWE-193 Off-by-one Error in debevv nanoMODBUS
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.
CVSS v4.0
Score 7.8high
Affected software
debevv
nanoMODBUS
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54410 describes an off-by-one buffer overflow in the recv_msg_header function of the Modbus/TCP server component of debevv nanoMODBUS through version 1.23.0. The vulnerability arises because the function improperly handles the Length field in the MBAP frame, allowing an attacker to write one byte past the allocated 260-byte receive buffer. This can be triggered remotely without authentication by sending a specially crafted MBAP frame with the Length field set to 255. The flaw is categorized under CWE-193 (Off-by-one Error) and CWE-787 (Out-of-bounds Write). No official patch or remediation guidance is currently available from the vendor.
Potential Impact
Successful exploitation allows a remote unauthenticated attacker to cause a buffer overflow by writing one byte beyond the buffer boundary. This could lead to memory corruption, potentially resulting in denial of service or other undefined behavior. The CVSS 4.0 score of 7.8 reflects a high severity with low attack complexity and no required privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider implementing network-level protections such as filtering or blocking untrusted Modbus/TCP traffic to reduce exposure. Monitor vendor channels for updates regarding an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-06-13T16:39:46.122Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a2ee3c9e617e2d834c15759
Added to database: 06/14/2026, 17:24:25 UTC
Last enriched: 08/13/2026, 16:37:18 UTC
Last updated: 09/11/2026, 07:31:54 UTC
Views: 141
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.