CVE-2026-71254 nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record()
CriticalCVSS 9.8
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debevv nanoMODBUS | <= 1.23.0 | after 1.23.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debevv nanoMODBUS | <= 1.23.0 | No fix listed |
References
- github.com third-party-advisory
- github.com third-party-advisory
- ENISA EUVD EUVD-2026-53331 third-party-advisory