Skip to main content
EPSS 0.3%top 76%

CVE-2026-71254: CWE-787 in debevv nanoMODBUS

0
Critical
Published: 08/05/2026 (08/05/2026, 11:44:20 UTC)
Source: CVE Database V5
Vendor/Project: debevv
Product: nanoMODBUS

Description

nanoMODBUS through v1.23.0 contains an out-of-bounds write in the Modbus server-side handle_read_file_record function (FC 0x14, Read File Record) in nanomodbus.c. The function validates that the total request size does not exceed 245 bytes and that each sub-request's record_length is at most 124, but it never validates the CUMULATIVE response size across all sub-requests before processing them.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

debevv

nanoMODBUS

Affected versions
>=0 <=1.23.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:30:21 UTC

Technical Analysis

CVE-2026-71254 is an out-of-bounds write vulnerability (CWE-787) in the nanoMODBUS library up to version 1.23.0. The issue exists in the Modbus server-side handle_read_file_record function (function code 0x14, Read File Record) implemented in nanomodbus.c. While the function validates that the total request size does not exceed 245 bytes and each sub-request's record_length is at most 124 bytes, it fails to validate the cumulative response size across all sub-requests before processing. This can lead to an out-of-bounds write condition, potentially allowing an attacker to corrupt memory and cause denial of service or execute arbitrary code.

Potential Impact

Successful exploitation of this vulnerability can result in a critical impact affecting confidentiality, integrity, and availability of the affected system. An attacker can cause memory corruption through out-of-bounds writes, which may lead to denial of service or arbitrary code execution within the context of the nanoMODBUS server.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been documented at this time. Users should monitor the vendor's communications for updates and apply patches once available.

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-08-05T11:43:52.777Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a73253ebf8831d539d6a9b9

Added to database: 08/05/2026, 11:57:50 UTC

Last enriched: 08/12/2026, 14:30:21 UTC

Last updated: 09/17/2026, 22:01:38 UTC

Views: 116

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