CVE-2026-71255
nanoMODBUS Client-Side Out-of-Bounds Write via object_length in recv_read_device_identification_res()
- State
- Published
- Severity
- 8.6 High
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.6 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H | TuranSec |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
nanoMODBUSdebevv |
|
References
- https://github.com/debevv/nanoMODBUSthird-party-advisory
- https://github.com/debevv/nanoMODBUS/blob/master/nanomodbus.cthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.