← Back to search

CVE-2026-71255

8.6 HIGHpublic exploit available

Published 2026-08-05 · Updated 2026-08-10

AI risk analysis

Summary
The flaw allows an out-of-bounds write due to improper validation of the object_length field in the Modbus protocol handling function. This can lead to potential code execution or data corruption.
Exploitability
Exploitation requires control over the server-supplied object_length and access to the vulnerable nanoMODBUS version, making it moderately difficult but feasible with proper conditions.
Blast radius
If exploited, this could result in significant damage, including unauthorized code execution on the affected device or network disruption.
Prioritized remediation
Update to the latest version of nanoMODBUS that addresses this vulnerability and validate all input parameters thoroughly.
modbusicsbuffer-overflowvulnerabilitypatch

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Weaknesses

CWE-787

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.