CVE-2026-124758
Integer underflow of the record data length in IODWrite requests
P-Net before 1.0.4 does not check the record data length of an IODWrite request to a non-user record index against the size of the record block header. The 32-bit length is reduced by the header size before it is passed to the record handlers, so a length smaller than the header underflows and the handlers receive a data length of about 65530. The fixed-size reads of the I&M and PDPort handlers can then read past the end of the session buffer. The result of the write is discarded. The attacker must have an established Application Relationship or be able to send in the context of one, and requires ADJACENT network access.
| CWE | CWE-191 |
| Vendor | rt-labs |
| Product | p-net |
| Published | Nov 13, 2026 |
Get instant alerts for rt-labs p-net
Be the first to know when new unknown vulnerabilities affecting rt-labs p-net are published โ delivered to Slack, Telegram or Discord.