CVE-2026-111735

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

Published Oct 29, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

Vendor Solution

Upgrade to P-Net 1.0.3 or later.


OpenCVE Recommended Actions

  • Upgrade to P‑Net 1.0.3 or later
  • Configure network filters or firewall rules to block or limit receipt of undersized cyclic data frames destined for the device
  • Enable comprehensive logging or monitoring to detect abnormal reads, crashes, or memory disclosure events

Generated by OpenCVE AI on October 29, 2026 at 17:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rt-labs
Rt-labs p-net
Vendors & Products Rt-labs
Rt-labs p-net
Type Values Removed Values Added
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.
Title Integer underflow leads to out-of-bounds read in pf_cpm_c_data_ind()
Weaknesses CWE-125
CWE-191
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
rt-labs
Published
Updated
Nov 5, 2026, 9:23 PM
Reserved
Oct 16, 2026, 3:50 PM
Status
Deferred
Published
Oct 29, 2026, 4:17 PM
Modified
Nov 5, 2026, 10:17 PM