{"id":"CVE-2026-71255","state":"PUBLISHED","title":"nanoMODBUS Client-Side Out-of-Bounds Write via object_length in recv_read_device_identification_res()","description":"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.","publishedAt":"2026-08-05T11:44:21.097Z","updatedAt":"2026-08-10T11:46:16.030Z","severity":{"score":8.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","source":"TuranSec"},"assigner":"TuranSec","products":["debevv nanoMODBUS"],"affected":[{"vendor":"debevv","product":"nanoMODBUS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.23.0","versionType":"semver"}],"programFiles":["nanomodbus.c"]}],"references":["https://github.com/debevv/nanoMODBUS","https://github.com/debevv/nanoMODBUS/blob/master/nanomodbus.c"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71255.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71255","state":"PUBLISHED","datePublished":"2026-08-05T11:44:21.097Z","dateUpdated":"2026-08-10T11:46:16.030Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-05T11:43:52.778Z"},"containers":{"cna":{"title":"nanoMODBUS Client-Side Out-of-Bounds Write via object_length in recv_read_device_identification_res()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"debevv","product":"nanoMODBUS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.23.0","versionType":"semver"}],"programFiles":["nanomodbus.c"]}],"references":[{"url":"https://github.com/debevv/nanoMODBUS","tags":["third-party-advisory"]},{"url":"https://github.com/debevv/nanoMODBUS/blob/master/nanomodbus.c","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","baseScore":8.6,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:46:16.030Z"},"credits":[{"lang":"en","value":"Shukhratbek Uraiimov","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T11:44:21.097Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T12:28:05.858513Z","id":"CVE-2026-71255","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T12:29:13.596Z"}}]}}}