Integer underflow leads to out-of-bounds read in pf_cpm_c_data_ind()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.0.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
P-Net, an open-source PROFINET device stack used in industrial automation equipment, is affected by this vulnerability. An attacker who sends a specially crafted short network frame can cause the software to read memory outside its intended buffer, which may crash the device or expose sensitive memory contents.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- RT-Labs P-Net
fixed in 1.0.3