CVE-2026-111735: Integer underflow leads to out-of-bounds read in pf_cpm_c_data_ind()
P-Net before 1.0.3 contains an integer underflow in pfcpmcdataind(). 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
P-Netto a version that resolves this vulnerability.Fixed in 1.0.3
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
P-Net versions before 1.0.3 are affected when they process received cyclic data frames and the relevant consumer is in the FRUN or RUN state.
What does an attacker need to send to trigger the flaw?
An attacker needs to provide a crafted cyclic data frame that is shorter than the expected minimum length. The short frame causes the 16-bit calculation of the APDU-status offset to underflow.
What is the likely impact of successful exploitation?
The out-of-bounds read can crash the affected process, causing denial of service. It may also disclose memory contents.