nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| debevv | nanoMODBUS | unknown |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Debevv | Nanomodbus |
|
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.541% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. The overflow corrupts the adjacent buffer-index field of the nanoMODBUS state structure, resulting in denial of service through invalid memory accesses and, on bare-metal and RTOS targets without memory protection, one-byte information disclosure and writes to unintended register addresses on the Write Multiple Registers (FC16) handler path. | 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. |
| Title | nanoMODBUS - Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field | nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field | nanoMODBUS - Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Off‑by‑One Buffer Overflow in nanoMODBUS Modbus/TCP Server Allowing Unauthenticated Denial of Service and Information Disclosure | nanoMODBUS Off-by-One Buffer Overflow in recv_msg_header() via Crafted MBAP Length Field |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Off‑by‑One Buffer Overflow in nanoMODBUS Modbus/TCP Server Allowing Unauthenticated Denial of Service and Information Disclosure |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Debevv
Debevv nanomodbus |
|
| Vendors & Products |
Debevv
Debevv nanomodbus |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. The overflow corrupts the adjacent buffer-index field of the nanoMODBUS state structure, resulting in denial of service through invalid memory accesses and, on bare-metal and RTOS targets without memory protection, one-byte information disclosure and writes to unintended register addresses on the Write Multiple Registers (FC16) handler path. | |
| Weaknesses | CWE-193 CWE-787 |
|
| References |
| |
| Metrics |
cvssV2_0
|