What’s Vulnerable › Vulnerabilities
CVE-2026-71254: nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record()
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-05 · updated 2026-10-24
- Weakness: 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.
Affected products
- debevv nanoMODBUS: through 1.23.0
References
Get alerted when CVE-2026-71254 or the next vulnerability affects your stack