CVE-2026-71256
published critical CVSS 3.1 · 9.8nanoMODBUS Client-Side Out-of-Bounds Read Leading to Wild-Pointer Write via object_id
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| debevv | — | nanoMODBUS0 through 1.23.0 · Other versions: unaffected | Affected | Not stated | TuranSec |
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].
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- TuranSec · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| debevv | nanoMODBUS | 0 through 1.23.0 (affected · semver)Default: unaffected | TuranSec · cna |
Weaknesses
1- CWE-125
References
2Provider assertions
2TuranSec · cna
nanoMODBUS Client-Side Out-of-Bounds Read Leading to Wild-Pointer Write via object_id
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 183514c59809e488a3697a3075379e783c4ab6a8f186db7ea4ac1ee626eafd6d
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record