CVE Catalog

CVE-2026-71255

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

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.

Risk Assessment

A remote Modbus server can cause an out-of-bounds write in the client, potentially leading to crashes or arbitrary code execution on the client system.

Recommendation

Update the nanoMODBUS library to a version that properly validates object_length against the buffer size, or apply a workaround by manually checking response lengths.

Other vulnerabilities in nanoMODBUS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS