CVE-2026-71254

nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record()

State
Published
Severity
9.8 Critical
Published
Aug 5, 2026
Updated
Aug 10, 2026
Reserved
Aug 5, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HTuranSec

Weaknesses

Affected Products

ProductVersions
nanoMODBUSdebevv
  • 1.23.0 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.