{"id":"CVE-2026-54410","published":"2026-06-14T17:10:12Z","modified":"2026-08-10T11:43:54Z","title":"nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field","vendor":"debevv","product":"nanoMODBUS","tier":"tail","description":{"text":"nanoMODBUS through v1.23.0 contains an off-by-one buffer overflow in the recv_msg_header function of the Modbus/TCP server that allows remote unauthenticated attackers to write one attacker-controlled byte past the end of the 260-byte receive buffer by sending a crafted MBAP frame whose Length field is set to 255.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00861,"percentile":0.56047,"provenance":"source"},"cwes":[{"id":"CWE-193","name":"Off-by-one Error"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/debevv/nanoMODBUS","tags":["product"]},{"url":"https://github.com/debevv/nanoMODBUS/blob/v1.23.0/nanomodbus.c#L369","tags":["product"]},{"url":"https://cwe.mitre.org/data/definitions/193.html","tags":["technical-description"]},{"url":"https://cwe.mitre.org/data/definitions/787.html","tags":["technical-description"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":11.21},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"debevv","affectedVersions":[{"vendor":"debevv","product":"nanoMODBUS","versions":["<= 1.23.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-15T17:00:11.456275Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36661","exploited":false,"provenance":"source"}}