CVE-2026-71256
Last modified
CVE-2026-71256 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. nanoMODBUS through v1.23.0 contains an out-of-bounds stack read leading to a wild-pointer write in nmbs_read_device_identification_basic / recv_read_device_identification_res in nanomodbus.c. A fixed 3-element stack array order[3] = {0,1,2} maps object IDs to buffer indices. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
nanoMODBUS through v1.23.0 contains an out-of-bounds stack read leading to a wild-pointer write in nmbs_read_device_identification_basic / recv_read_device_identification_res in nanomodbus.c. A fixed 3-element stack array order[3] = {0,1,2} maps object IDs to buffer indices. The server-supplied object_id field (0-255, read directly from the wire) is used without any bounds check as buf_index = order[object_id].
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| debevv | nanoMODBUS | <= 1.23.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-71256?
How severe is CVE-2026-71256?
How do I fix CVE-2026-71256?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7125A vulnerability was identified in Totolink A8000RU 7.1cu.643…9.8
- CVE-2026-71250Firefly III's webhook URL validator (IsValidWebhookUrl.php) …4.3
- CVE-2026-71251Akaunting's shared download route (app/Http/Controllers/Comm…6.5
- CVE-2026-71252toner-management's admin state-changing handlers (add.php, e…8.2
- CVE-2026-71254nanoMODBUS through v1.23.0 contains an out-of-bounds write i…9.8
- CVE-2026-71255nanoMODBUS through v1.23.0 contains an out-of-bounds write i…8.6
- CVE-2026-71259ESPHome through 2026.7.0-dev contains an operator-precedence…8.6
- CVE-2026-7126A security flaw has been discovered in SourceCodester Pharma…7.3
- CVE-2026-71260ESPHome through 2026.7.0-dev discloses plaintext passwords v…6.5
- CVE-2026-71261dr_libs dr_wav.h (all versions through current master) conta…7.8
- CVE-2026-71262IoTSharp BlobStorageController.cs lacks the [Authorize] attr…9.8
- CVE-2026-71263The LINUXTCP port of FreeModbus contains an off-by-one bound…9.1
Are you affected by CVE-2026-71256?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
