nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record()
cve-program · CVE-2026-71254
PublishednanoMODBUS through v1.23.0 contains an out-of-bounds write in the Modbus server-side handle_read_file_record function (FC 0x14, Read File Record) in nanomodbus.c. The function validates that the total request size does not exceed 245 bytes and that each sub-request's record_length is at most 124, but it never validates the CUMULATIVE response size across all sub-requests before processing them.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-71254 · CVE overview and exploitation status
cve-program · CVE-2026-71254
Related changes
Linked by CVE identifierNo related changes are available here.