nanoMODBUS Client-Side Out-of-Bounds Read Leading to Wild-Pointer Write via object_id
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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].
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71256
- 2026-10-03 Alias added: GHSA-vq4c-5vwv-g86v
References
More debevv vulnerabilities
- TI-2026-49923 nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record() CVSS 3.1CRITICAL 9.8
- TI-2026-49924 nanoMODBUS Client-Side Out-of-Bounds Write via object_length in recv_read_device_identification_res() CVSS 3.1HIGH 8.6
- TI-2026-39286 nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field CVSS 4.0HIGH 7.8
Sources
- CVE-2026-71256 · CVE Program
- CVE-2026-71256 · NVD
- FIRST EPSS
- GHSA-vq4c-5vwv-g86v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences