CVEvulnerability

CVE-2026-71254

9.8 CRITICAL Published 2026-08-05 Modified 2026-10-24 Official page ↗
Status
Deferred
Published
2026-08-05
Last modified
2026-10-24
Assigner
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
CVSS 3.1 (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787

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.

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References