CVE-2026-111735

Integer underflow leads to out-of-bounds read in pf_cpm_c_data_ind()

High published · updated

7.1
CVSS score out of 10 · NVD (4b71179a-3b92-4a9d-b9fc-af8b8ed579ee)

Description

P-Net before 1.0.3 contains an integer underflow in pf_cpm_c_data_ind(). When handling a received cyclic data frame while the consumer is in the FRUN or RUN state, the offset of the APDU status was computed as the frame length minus 4 using 16-bit arithmetic, without checking that the frame is long enough. A crafted short frame makes the offset wrap around, so the function reads outside the receive buffer. This can cause a crash (denial of service) or disclose memory content.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
p-net rt-labs 0 → <1.0.31.0.3 CVE.org

References