Skip to content
OpenAdvisories
High · 8.6 CVE-2026-71255 EUVD-2026-53332GHSA-9rfp-q4v5-653h

nanoMODBUS Client-Side Out-of-Bounds Write via object_length in recv_read_device_identification_res()

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

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.

Affected products

VendorProductAffectedFixed
debevv nanoMODBUS ≤ 1.23.0 —

References