Technical impact
P‑Net firmware versions prior to 1.0.3 contain an integer underflow in the pf_cpm_c_data_ind() routine. When a cyclic data frame is received while the device is in the FRUN or RUN state, the routine calculates the APDU status offset as the frame length minus four using 16‑bit arithmetic, without verifying that the frame is long enough. A deliberately short frame causes the offset to wrap around, leading the routine to read beyond the receive buffer. This out‑of‑bounds read can trigger a crash, resulting in a denial of service, or it can expose contents of adjacent memory, allowing an attacker to gather sensitive data.
Affected Systems
The vulnerability affects RT‑Labs P‑Net devices running firmware versions earlier than 1.0.3.
Risk and Exploitability
The CVSS score of 7.1 indicates medium‑to‑high severity, and no EPSS value is available, so the exact likelihood of exploitation remains unknown. The vulnerability is not listed in the CISA KEV catalog. The attack vector is network‑based: a malicious actor can send a crafted, undersized cyclic data frame to the P‑Net device while it is in a running state to trigger the integer underflow and potentially either crash the system or retrieve memory contents.