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…
EPSS 0.5%top 58%

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

0
High
VulnerabilityCVE-2026-54410cvecve-2026-54410cwe-193cwe-787
Published: 06/14/2026 (06/14/2026, 17:10:12 UTC)
Source: CVE Database V5
Vendor/Project: debevv
Product: nanoMODBUS

Description

nanoMODBUS versions up to 1.23.0 have an off-by-one buffer overflow vulnerability in the recv_msg_header() function of the Modbus/TCP server. This flaw allows remote unauthenticated attackers to write one byte beyond the end of a 260-byte buffer by sending a specially crafted MBAP frame with a Length field set to 255. The overflow corrupts an adjacent buffer-index field, causing denial of service via invalid memory accesses. On bare-metal and RTOS systems without memory protection, it can also lead to one-byte information disclosure and unintended writes to registers during the Write Multiple Registers handler execution.

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/22/2026, 15:19:02 UTC

Technical Analysis

CVE-2026-54410 is an off-by-one buffer overflow in the recv_msg_header() function of the nanoMODBUS Modbus/TCP server up to version 1.23.0. The vulnerability arises when processing an MBAP frame with a Length field set to 255, allowing an attacker to overwrite one byte past the 260-byte receive buffer. This corrupts the adjacent buffer-index field in the nanoMODBUS state structure, resulting in denial of service through invalid memory accesses. On systems lacking memory protection, such as bare-metal or RTOS targets, this overflow can also cause one-byte information disclosure and unintended writes to register addresses in the Write Multiple Registers (FC16) handler path. The vulnerability is remotely exploitable without authentication.

Potential Impact

The vulnerability enables remote unauthenticated attackers to cause denial of service by corrupting memory structures, leading to invalid memory accesses. On bare-metal and RTOS systems without memory protection, it may also result in limited information disclosure and unauthorized writes to Modbus registers, potentially affecting system integrity and reliability.

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 to restrict access to the Modbus/TCP server and monitor for anomalous MBAP frames with suspicious Length field values. Avoid exposing the vulnerable service to untrusted networks.

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: 06/14/2026, 17:24:25 UTC

Last enriched: 06/22/2026, 15:19:02 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 108

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