{"id":"CVE-2026-71256","published":"2026-08-05T11:44:21Z","modified":"2026-08-10T11:46:18Z","title":"nanoMODBUS Client-Side Out-of-Bounds Read Leading to Wild-Pointer Write via object_id","vendor":"debevv","product":"nanoMODBUS","tier":"tail","description":{"text":"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].","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00553,"percentile":0.47108,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/debevv/nanoMODBUS","tags":["third-party-advisory"]},{"url":"https://github.com/debevv/nanoMODBUS/blob/master/nanomodbus.c","tags":["third-party-advisory"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.42},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"debevv","affectedVersions":[{"vendor":"debevv","product":"nanoMODBUS","versions":["<= 1.23.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-05T12:25:23.617290Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-53333","exploited":false,"provenance":"source"}}