CVE-2026-71255

Source
https://cve.org/CVERecord?id=CVE-2026-71255
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71255.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-71255
Published
2026-08-05T11:44:21Z
Modified
2026-10-28T02:31:14Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
nanoMODBUS Client-Side Out-of-Bounds Write via object_length in recv_read_device_identification_res()
Details

nanoMODBUS through v1.23.0 contains an out-of-bounds write in the Modbus client-side recv_read_device_identification_res function (FC 0x2B/MEI 0x0E, Read Device Identification) in nanomodbus.c. The server-supplied object_length field (0-246) is validated only against the remaining PDU size (res_size_left) and is never validated against the caller-supplied buffers_length parameter.

Database specific
{
    "cna_assigner":  "TuranSec",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71255.json"
}
References

Affected packages

Git / github.com/debevv/nanomodbus

Affected ranges

Type
GIT
Repo
https://github.com/debevv/nanomodbus
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "1.23.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "1.23.0"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v1.*
v1.0
v1.0.0
v1.0.1
v1.1.0
v1.1.1
v1.10.0
v1.11.0
v1.12.0
v1.12.1
v1.13.0
v1.14.0
v1.14.1
v1.14.2
v1.14.3
v1.15.0
v1.16.0
v1.17.0
v1.17.1
v1.17.2
v1.17.3
v1.18.1
v1.19.0
v1.2.0
v1.2.1
v1.20.0
v1.20.1
v1.21.0
v1.22.0
v1.22.1
v1.23.0
v1.3.0
v1.3.1
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.8.0
v1.8.1
v1.9.0
v1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71255.json"