{"id":"CVE-2026-71254","published":"2026-08-05T11:44:20Z","modified":"2026-08-10T11:46:13Z","title":"nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record()","vendor":"debevv","product":"nanoMODBUS","tier":"tail","description":{"text":"nanoMODBUS 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.","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.39846,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"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":14.8,"factors":[{"name":"EPSS percentile","points":7.97},{"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:29:36.579901Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-53331","exploited":false,"provenance":"source"}}