CVE-2026-71254

CRITICAL CVSS 3.1: 9.8 EPSS 0.31%
Updated Aug 10, 2026
nanoMODBUS
Parameter Value
CVSS 9.8 (CRITICAL)
Type CWE-787 (Out-of-bounds Write)
Vendor nanoMODBUS
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)