CVE-2026-71254: Vulnerability in nanoMODBUS

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

CWE-787

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.6 % in 30 days
Fix
None recorded
Patch deadline
No deadline set

Details

EU ID
EUVD-2026-53331
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Published
5 Aug 2026
Last change
24 Oct 2026
Likelihood rank
Higher than 40 % of all rated vulnerabilities
Analysis status
Deferred

Affected products

Affected versions and the first fixed release

  • nanoMODBUS Through 1.23.0. No fixed version recorded

Advisories

Vendor and security advisories

Related