Description
A security flaw has been discovered in seladb PcapPlusPlus 25.05. This impacts the function pcpp::ModbusLayer::getLength in the library Packet++/header/ModbusLayer.h of the component Modbus Protocol Handler. The manipulation of the argument length results in heap-based buffer overflow. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is said to be difficult. The exploit has been released to the public and may be used for attacks. The patch is identified as 4c90c3e3418a2b09dc82b7ca5775e9c1e22fe454. Applying a patch is advised to resolve this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| seladb | PcapPlusPlus | 25.05 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | pcapplusplus | 26.07-1.1 | openSUSE-SU-2026:11883-1 |
| openSUSE Leap 16.0 | pcapplusplus | 26.07-bp160.1.1 | openSUSE-SU-2026:22017-1 |
Advisories 2
- openSUSE-SU-2026:22017-1 Security update for pcapplusplus SUSE / openSUSE Security Updates · Oct 3, 2026
- openSUSE-SU-2026:11883-1 pcapplusplus-devel-26.07-1.1 on GA media SUSE / openSUSE Security Updates · Sep 25, 2026
References
- VDB-374593 | seladb PcapPlusPlus Modbus Protocol ModbusLayer.h getLength heap-based overflow vdb-entry technical-description
- VDB-374593 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-13590 | CVE Analysis and Report third-party-advisory
- Submit #844483 | PcapPlusPlus v25.05 Heap-based Buffer Overflow third-party-advisory
- https://github.com/seladb/PcapPlusPlus/issues/2155 issue-tracking
- https://github.com/seladb/PcapPlusPlus/pull/2159 issue-tracking patch
- https://github.com/user-attachments/files/28249048/poc.zip exploit
- https://github.com/seladb/PcapPlusPlus/commit/4c90c3e3418a2b09dc82b7ca5775e9c1e22fe454 patch
- https://github.com/seladb/PcapPlusPlus/ product