Summary
This update for pcapplusplus fixes the following issues:
Changes in pcapplusplus:
- Update to version 26.07
* libpcap / WinPcap / Npcap is now optional.
* Bumped the minimum required C++ standard to C++14
Protocol support:
* Added Modbus protocol
* Added DoIP - Diagnostic over Internet Protocol
* Added PostgreSQL Wire Protocol (PGWire), including
additional message types
* Added MySQL Wire Protocol
* Discrete FTPControl and FTPData protocol types
* Add support for AccurateECN TCP flag
* Improve SIP packet detection using heuristic parsing
* Recognize LLC payload in SLL2
Added extensive X.509 / cryptography support:
* X.509 certificate decoding, extension parsing, and parsing
of X.509 certificates embedded in SSL/TLS messages
* Export/import of X.509 certificates to PEM format, plus a
new general-purpose PEM codec
* Cryptographic key decoders (RSA/EC private and public keys)
* Base64 encoding/decoding
* A new X509Toolkit example application
* Expanded ASN.1 codec support: BitString,
UTCTime/GeneralizedTime, ObjectIdentifier and string records,
plus arbitrary-size integer support
* IFileReaderDevice::createReader() and
IFileReaderDevice::tryCreateReader() use file-content
heuristics
to automatically pick the right reader (pcap/pcapng/snoop)
instead of relying solely on the file extension
* Add incremental packet parsing support with
Packet::parsePacket()
* Added multi-language README support: Japanese
* IPv4Address/IPv6Address/MacAddress user-defined literals,
e.g. constructing addresses directly from string literals,
and sized buffer-construction overloads
* Explicit-ownership overloads for RawPacket::setRawData(),
and a sized overload for Layer::copyData()
* Improved zstd support: added a build flag to control zstd
support
* A new SuppressLogs RAII class for temporarily suppressing
log output
* Large-scale internal refactoring of the device layer
(PcapLiveDevice, DpdkDeviceList, file readers/writers,
statistics tracking), the logging infrastructure, and the
packet parsing infrastructure, improving encapsulation,
thread-safety, and maintainability
* Improved benchmarking: added a pure-parsing benchmark and
extended benchmarks to support PcapNG and Snoop files
* Test refactoring: replace packet creation macros in with C++
functions
* Tons of security and correctness bug fixes
Breaking changes:
* The minimum required C++ standard has been raised to C++14
* IPcapDevice has been removed; its logic now lives in
PcapLiveDevice
* libpcap/WinPcap/Npcap is now an optional dependency -
building without it disables Pcap++ capture features, though
Common++/Packet++ (including pcap file I/O) remain fully
usable
* Various internal APIs around device lists and statistics
tracking were reworked as part of the refactoring above; this
may affect code relying on undocumented internals
Deprecation list:
* IPv6Address::copyTo() has been deprecated, please use
IPv6Address::copyToNewBuffer() instead
* MacAddress::copyTo() has been deprecated, please use
MacAddress::copyToNewBuffer() instead
* Asn1IntegerRecord::getValue() has been deprecated, please
use Asn1IntegerRecord::getIntValue() instead
* RawPacket::getObjectType() has been deprecated due to
unclear semantics
* RawPacket::setRawData() has been deprecated, please use the
overload that takes takeOwnership parameter for explicit
control
* RawPacket::initWithRawData() has been deprecated, please use
RawPacket::setRawData() with takeOwnership=false instead
* SSLExtension::SSLExtension() has been deprecated, please use
the constructor with bounded span instead
* Several TcpOptionBuilder constructors have been deprecated,
please use the new constructors with TcpOptionEnumType
instead
* TcpLayer::getTcpOption(TcpOptionType option) has been
deprecated, please use the overload
TcpLayer::getTcpOption(TcpOptionEnumType option) instead
* TcpLayer::removeTcpOption(TcpOptionType optionType) has been
deprecated, please use the overload
TcpLayer::removeTcpOption(TcpOptionEnumType optionType)
instead
* MBufRawPacket::getObjectType() has been deprecated due to
unclear semantics
* IFileReaderDevice::getReader() has been deprecated, please
use IFileReaderDevice::tryCreateReader() instead
* PcapFileReaderDevice::isNanoSecondPrecisionSupported() has
been deprecated, nanosecond precision is now natively
supported
by the internal parser and always returns true
* PcapFileWriterDevice::isNanoSecondPrecisionSupported() has
been deprecated, nanosecond precision is now natively
supported
by the internal parser and always returns true
* BpfFilterWrapper::matchPacketWithFilter() has been
deprecated, please use BpfFilterWrapper::matches() instead
* GeneralFilter::matchPacketWithFilter() has been deprecated,
please use GeneralFilter::matches() instead
* PcapLiveDevice::matchPacketWithFilter() has been deprecated,
please use GeneralFilter::matches() directly
* PcapLiveDevice::sendPacket(Packet* packet, bool checkMtu =
true) has been deprecated, please use
PcapLiveDevice::sendPacket(Packet const& packet, bool
checkMtu) instead
* PcapRemoteDeviceList::getRemoteDeviceByIP() has been
deprecated, please use PcapRemoteDeviceList::getDeviceByIP()
instead
* PfRingDeviceList::getPfRingDeviceByName() has been
deprecated, please use PfRingDeviceList::getDeviceByName()
instead
- CVE-2026-13587: heap-based buffer overflow via function `parse_by_block_type` (boo#1269621)
- CVE-2026-13588: heap-based buffer overflow via function `pcpp::SSLClientHelloMessage::getHandshakeVersion` (boo#1269620)
- CVE-2026-13589: heap-based buffer overflow via function `pcpp::TelnetLayer::getSubCommand` (boo#1269619)
- CVE-2026-13590: heap-based buffer overflow via fun
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | pcapplusplus | 26.07-bp160.1.1 |
Vulnerabilities 4
-
Medium 5.6
seladb PcapPlusPlus TLS Hello SSLHandshake.cpp getHandshakeVersion heap-based overflow
A vulnerability was determined in seladb PcapPlusPlus 25.05. The impacted element is the function pcpp::SSLClientHelloMessage::getHandshakeVersion of the file Packet++/src/SSLHandshake.cpp of the component TLS Hello Handler. Executing a manipulation of the ar…
-
Medium 5.6
seladb PcapPlusPlus Telnet Subnegotiation Packet TelnetLayer.cpp getSubCommand heap-based overflow
A vulnerability was identified in seladb PcapPlusPlus 25.05. This affects the function pcpp::TelnetLayer::getSubCommand of the file Packet++/src/TelnetLayer.cpp of the component Telnet Subnegotiation Packet Handler. The manipulation leads to heap-based buffer…
-
Medium 5.6
seladb PcapPlusPlus Modbus Protocol ModbusLayer.h getLength heap-based overflow
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 …
-
Low 3.7
seladb PcapPlusPlus LightPcapNg light_pcapng.c parse_by_block_type heap-based overflow
A vulnerability was found in seladb PcapPlusPlus 25.05. The affected element is the function parse_by_block_type of the file light_pcapng.c of the component LightPcapNg Parser. Performing a manipulation of the argument captured_packet_length results in heap-b…
References
-
report
https://bugzilla.suse.com/1269618
-
report
https://bugzilla.suse.com/1269619
-
report
https://bugzilla.suse.com/1269620
-
report
https://bugzilla.suse.com/1269621
-
web
https://www.suse.com/security/cve/CVE-2026-13587
-
web
https://www.suse.com/security/cve/CVE-2026-13588
-
web
https://www.suse.com/security/cve/CVE-2026-13589
-
web
https://www.suse.com/security/cve/CVE-2026-13590