VYPR

Nanomodbus

by Debevv

Source repositories

CVEs (5)

  • CVE-2026-71256CriAug 5, 2026
    risk 0.64cvss 9.8epss 0.00

    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…

  • CVE-2026-71254CriAug 5, 2026
    risk 0.64cvss 9.8epss 0.00

    nanoMODBUS through v1.23.0 contains an out-of-bounds write in the Modbus server-side handle_read_file_record function (FC 0x14, Read File Record) in nanomodbus.c. The function validates that the total request size does not exceed 245 bytes and that each sub-request's…

  • CVE-2026-71255HigAug 5, 2026
    risk 0.56cvss 8.6epss 0.00

    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…

  • CVE-2026-54410HigJun 14, 2026
    risk 0.56cvss 8.6epss 0.01

    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…

  • CVE-2026-29972HigMay 8, 2026
    risk 0.53cvss 8.2epss 0.01

    nanoMODBUS through v1.22.0 has a stack-based buffer overflow in recv_read_registers_res() in nanomodbus.c. When a client calls nmbs_read_holding_registers() or nmbs_read_input_registers(), the library writes register data from the server response to the caller-provided buffer…