Skip to main content
EPSS 0.2%top 87%

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

0
High
Published: 08/05/2026 (08/05/2026, 11:44:21 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 client-side recv_read_device_identification_res function (FC 0x2B/MEI 0x0E, Read Device Identification) in nanomodbus.c. The server-supplied object_length field (0-246) is validated only against the remaining PDU size (res_size_left) and is never validated against the caller-supplied buffers_length parameter.

CVSS v3.1

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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:35 UTC

Technical Analysis

CVE-2026-71255 is an out-of-bounds write vulnerability in the nanoMODBUS library through version 1.23.0. The flaw exists in the Modbus client-side function recv_read_device_identification_res, which processes the Read Device Identification response (function code 0x2B, MEI type 0x0E). The vulnerability arises because the server-supplied object_length field, which can range from 0 to 246, is only validated against the remaining PDU size (res_size_left) but not against the caller-supplied buffers_length parameter. This lack of proper validation can lead to writing beyond the bounds of the buffer, causing memory corruption.

Potential Impact

Successful exploitation of this vulnerability can lead to memory corruption, which may result in denial of service or potentially allow an attacker to execute arbitrary code. The CVSS score of 8.6 reflects a high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when processing untrusted Modbus responses and consider additional input validation or sandboxing measures to mitigate potential exploitation.

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.778Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a73253ebf8831d539d6a9bd

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

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

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

Views: 53

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