Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted TLS ClientHello packet with malformed handshakeVersion
-
DeliveryPacket captured by PcapPlusPlus 25.05 application
-
ExploitgetHandshakeVersion() fails to bounds-check input
-
ExecutionHeap buffer overflow triggered in SSLHandshake.cpp
-
ImpactMemory 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-reachable parser, no auth required, but high complexity limits exploitation; scope unchanged as impact stays within the consuming process.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-40148
GHSA-9f2x-4g7j-783f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB