Skip to main content
EPSS 0.3%top 76%

CVE-2026-71256: CWE-125 in debevv nanoMODBUS

0
Critical
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 stack read leading to a wild-pointer write in nmbs_read_device_identification_basic / recv_read_device_identification_res in nanomodbus.c. A fixed 3-element stack array order[3] = {0,1,2} maps object IDs to buffer indices. The server-supplied object_id field (0-255, read directly from the wire) is used without any bounds check as buf_index = order[object_id].

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:58 UTC

Technical Analysis

The vulnerability in nanoMODBUS through version 1.23.0 arises from improper bounds checking on the server-supplied object_id field (0-255) used as an index into a fixed 3-element stack array order[3]. This results in an out-of-bounds stack read and subsequent wild-pointer write in nanomodbus.c functions nmbs_read_device_identification_basic and recv_read_device_identification_res. The lack of validation allows an attacker to cause memory corruption, potentially leading to arbitrary code execution or denial of service.

Potential Impact

Successful exploitation can lead to memory corruption due to wild-pointer writes, impacting confidentiality, integrity, and availability of the affected system. The CVSS score of 9.8 reflects critical severity with network attack vector, no privileges required, no user interaction, and full impact on confidentiality, integrity, and availability.

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 restricting access to the nanoMODBUS service from untrusted networks to reduce exposure.

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: 6a73253ebf8831d539d6a9c1

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

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

Last updated: 09/19/2026, 22:01:37 UTC

Views: 57

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