CVE-2026-71254
published critical CVSS 3.1 · 9.8nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| debevv | — | nanoMODBUS0 through 1.23.0 · Other versions: unaffected | Affected | Not stated | TuranSec |
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 advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- TuranSec · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| debevv | nanoMODBUS | 0 through 1.23.0 (affected · semver)Default: unaffected | TuranSec · cna |
Weaknesses
1- CWE-787
References
2Provider assertions
2TuranSec · cna
nanoMODBUS Server-Side Out-of-Bounds Write in handle_read_file_record()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a1b590631fff2237f2afe36a16ba76ae90001d8f7f55c75d2d6275eeb0bc0e8c
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record