Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54410: CWE-193 Off-by-one Error in debevv nanoMODBUS

0
High
VulnerabilityCVE-2026-54410cvecve-2026-54410cwe-193cwe-787
Published: Sun Jun 14 2026 (06/14/2026, 17:10:12 UTC)
Source: CVE Database V5
Vendor/Project: debevv
Product: 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. 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.

CVSS v4.0

Score 7.8high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
nanoMODBUS
pkg:github/nanoMODBUS
Affected versions
<=1.23.0

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

AILast updated: 06/14/2026, 17:39:19 UTC

Technical Analysis

The vulnerability in nanoMODBUS (<=1.23.0) arises from an off-by-one buffer overflow in the recv_msg_header() function of its Modbus/TCP server implementation. An attacker can send a malicious MBAP frame with the Length field set to 255, causing a single byte to be written beyond the 260-byte receive buffer. This corrupts the adjacent buffer-index field in the nanoMODBUS state structure. The corruption results in denial of service through invalid memory accesses. Additionally, on bare-metal and RTOS systems lacking memory protection, this overflow can cause one-byte information disclosure and unintended register writes on the Write Multiple Registers (FC16) handler path. The vulnerability has a CVSS 4.0 base score of 7.8, indicating high severity. No official patch or remediation is currently documented, and no known exploits are reported in the wild.

Potential Impact

Remote unauthenticated attackers can exploit this off-by-one overflow to cause denial of service by corrupting internal state and triggering invalid memory accesses. On systems without memory protection (bare-metal or RTOS), the vulnerability also allows limited information disclosure and unauthorized writes to Modbus registers, potentially impacting device operation or data integrity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider mitigating exposure by restricting network access to the Modbus/TCP server and monitoring for anomalous MBAP frames with suspicious Length fields. Avoid deploying nanoMODBUS on unprotected bare-metal or RTOS targets without memory protection where possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-06-13T16:39:46.122Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2ee3c9e617e2d834c15759

Added to database: 6/14/2026, 5:24:25 PM

Last enriched: 6/14/2026, 5:39:19 PM

Last updated: 6/14/2026, 8:56:27 PM

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses