CVE Catalog

CVE-2026-54410

HighCVSS 8.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.54%

43th percentile - higher than 43% of all known CVEs

Summary

Off-by-one buffer overflow vulnerability in nanoMODBUS through v1.23.0 in the recv_msg_header function of the Modbus/TCP server. A remote unauthenticated attacker can write one attacker-controlled byte past the end of the 260-byte receive buffer by sending a crafted MBAP frame with the Length field set to 255.

Risk Assessment

A remote attacker could cause memory corruption, potentially leading to service crash or possibly code execution.

Recommendation

Update nanoMODBUS to a version newer than 1.23.0 if available, or apply a workaround by restricting access to the Modbus/TCP server.

Other vulnerabilities in nanoMODBUS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS