Skip to main content

PcapPlusPlus CVE-2026-13588

| EUVDEUVD-2026-40148 LOW
Buffer Overflow (CWE-119)
2026-06-29 cna@vuldb.com GHSA-9f2x-4g7j-783f
2.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted TLS ClientHello packet with malformed handshakeVersion
  2. Delivery
    Packet captured by PcapPlusPlus 25.05 application
  3. Exploit
    getHandshakeVersion() fails to bounds-check input
  4. Execution
    Heap buffer overflow triggered in SSLHandshake.cpp
  5. Impact
    Memory corruption enables limited data access or process crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target environment must be running an application built with PcapPlusPlus 25.05 that actively parses TLS ClientHello handshake messages from network traffic - meaning the application must capture and hand off raw TLS packets to the pcpp::SSLClientHelloMessage class. No authentication is required per the CVSS 4.0 PR:N metric. High attack complexity (AC:H) is the primary limiting condition: exploitation does not succeed on the first crafted packet in most heap layouts and requires the attacker to control or predict heap state for reliable triggering. There is no indication that any non-default configuration enables the vulnerable code path - any PcapPlusPlus 25.05 application performing TLS ClientHello parsing is potentially exposed. The impact is bounded to limited confidentiality, integrity, and availability of the vulnerable process (VC:L/VI:L/VA:L); no scope change to other systems is indicated. Network proximity is required - the attacker must be able to send packets captured by the affected application's network interface.

Impact

The CVSS 4.0 base score of 2.9 reflects a network-reachable (AV:N) but high-complexity (AC:H) attack with no privilege requirement (PR:N) and no user interaction (UI:N), yielding only limited confidentiality, integrity, and availability impact on the vulnerable system (VC:L/VI:L/VA:L) and no subsequent-system impact (SC:N/SI:N/SA:N). The E:P modifier confirms a public proof-of-concept exists. EPSS data was not provided in input - exploitation probability cannot be quantified from available signals beyond the CVSS and POC status. The vulnerability is NOT listed in CISA KEV, meaning active in-the-wild exploitation is not confirmed. The high attack complexity (AC:H) is the primary risk dampener: reliable exploitation requires precise heap layout manipulation, making opportunistic mass exploitation unlikely. PcapPlusPlus is a developer library, not a network-exposed service itself - the actual attack surface depends entirely on how the consuming application exposes parsed TLS traffic, making real-world impact highly deployment-dependent. Overall, this is a low-priority finding for most organizations unless they ship software built on PcapPlusPlus 25.05 that processes untrusted TLS traffic.

Exploit ScenarioDerived

An attacker sends a crafted TLS ClientHello packet with a malformed or oversized handshakeVersion value to a network interface monitored by an application built on PcapPlusPlus 25.05. The library's getHandshakeVersion() parser processes the packet without adequate bounds checking, causing a heap buffer overflow that corrupts adjacent memory. A public proof-of-concept (poc.zip, available at https://github.com/user-attachments/files/28213479/poc.zip) demonstrates this path, though reliable exploitation for code execution would require additional heap manipulation to overcome the high attack complexity constraint.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 29, 2026

Heap-based buffer overflow in PcapPlusPlus 25.05's TLS Hello Handler allows remote unauthenticated attackers to trigger memory corruption via a crafted handshakeVersion argument in the SSLClientHelloMessage::getHandshakeVersion function of SSLHandshake.cpp. Successful exploitation requires high attack complexity, limiting practical impact, but a public proof-of-concept (poc.zip) has been disclosed via GitHub. This vulnerability is not confirmed in CISA KEV, and its CVSS 4.0 score of 2.9 reflects the constrained, low-impact nature of the flaw despite the public exploit availability.

RemediationAI

The upstream fix is available as commit 98e671010bc7c87b95898c22ae289220ae92542b, delivered via pull request #2161 (https://github.com/seladb/PcapPlusPlus/pull/2161). Developers and maintainers using PcapPlusPlus 25.05 should update their dependency to a version of the repository incorporating this commit. A tagged patched release version has not been independently confirmed from the available data - treat this as an upstream fix available via PR/commit pending a formal release tag. As a compensating control where immediate patching is not feasible, consider adding application-level input validation on the handshakeVersion field before passing TLS ClientHello packets to PcapPlusPlus parsing functions; this adds a bounds or sanity check at the integration boundary and reduces the risk of triggering the vulnerable code path. An alternative mitigation is to restrict the network interfaces or traffic sources from which the consuming application accepts TLS packets to trusted hosts only, reducing attacker-controlled input reaching the vulnerable parser. Note that neither compensating control eliminates the underlying vulnerability.

Affected VersionsENISA

PcapPlusPlus 25.05

Affected Packages

euvd pcapplusplus no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PcapPlusPlus (seladb/PcapPlusPlus) is an open-source, multi-platform C++ library for network packet capture, parsing, and crafting, built atop libpcap and WinPcap/Npcap. The vulnerability resides in Packet++/src/SSLHandshake.cpp within the pcpp::SSLClientHelloMessage::getHandshakeVersion() function, which is responsible for parsing the handshakeVersion field from TLS ClientHello messages. CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) identifies the root cause class: the function does not adequately validate or bounds-check the handshakeVersion input before performing heap memory operations, allowing a specially crafted TLS ClientHello packet to trigger a write beyond the allocated heap buffer. This class of bug commonly enables memory corruption, potentially leading to crashes or, under precise heap grooming conditions, code execution. The CPE corresponds to seladb PcapPlusPlus version 25.05 as identified in the NVD reference and GitHub issue #2151.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.9 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.6 MEDIUM

Network-reachable parser, no auth required, but high complexity limits exploitation; scope unchanged as impact stays within the consuming process.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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 argument handshakeVersion can lead to heap-based buffer overflow. It is possible to launch the attack remotely. This attack is characterized by high complexity. The exploitability is regarded as difficult. The exploit has been publicly disclosed and may be utilized. This patch is called 98e671010bc7c87b95898c22ae289220ae92542b. It is best practice to apply a patch to resolve this issue.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche C++ packet-parsing library for network developers
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy