Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft pcapng file with malicious captured_packet_length
-
DeliveryDeliver file to application via upload or network path
-
ExploitApplication invokes LightPcapNg parse_by_block_type
-
ExecutionHeap buffer overflow triggered in parser
-
ImpactApplication process crash (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target application must be built against PcapPlusPlus version 25.05 and must invoke the LightPcapNg Parser component (specifically |
| Impact | The overall risk is low. The CVSS 4.0 base score of 2.9 reflects high attack complexity (AC:H) and minimal impact (VA:L only), consistent with the vulnerability description characterizing exploitation as 'difficult.' No EPSS data was provided, and no CISA KEV listing exists, meaning automated or widespread exploitation is not confirmed. The existence of a public POC (poc.zip on GitHub, reflected by E:P in the CVSS 4.0 supplemental vector) elevates practical risk modestly above theoretical - a motivated attacker has a working starting point - but AC:H limits the population of capable exploiters. The CVSS 4.0 vector assigns no confidentiality or integrity impact; although CWE-122 heap overflows can theoretically enable arbitrary code execution, the scoring here does not support that outcome, and no independent code execution claim exists in the available data. The gap between CWE classification (which implies potential RCE) and CVSS impact assignment (DoS only) is a notable inconsistency that defenders should note - impact may be underestimated or may depend on runtime mitigations (ASLR, heap guards) that constrain exploitation to a crash. Real-world priority is low unless the affected application operates in a security-sensitive context with direct exposure to untrusted pcapng input. |
| Exploit ScenarioDerived | An attacker crafts a pcapng file containing a packet block where the |
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 allows remote attackers to crash applications that parse attacker-controlled pcapng files via a crafted captured_packet_length value in the parse_by_block_type function of the LightPcapNg Parser. A publicly available proof-of-concept exploit (poc.zip) exists, though confirmed impact is limited to availability - application crash/denial-of-service - with no confidentiality or integrity impact indicated by the CVSS 4.0 vector. No active exploitation is confirmed, and no patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at the time of analysis. The issue is tracked in GitHub issue #2149 (https://github.com/seladb/PcapPlusPlus/issues/2149) - developers and users should monitor this issue for an upstream fix and upgrade when a patched release is published. As a compensating control, applications using PcapPlusPlus should avoid parsing pcapng files or streams from untrusted sources until a fix is available; if parsing untrusted input is a core function, add a validation wrapper that enforces that captured_packet_length does not exceed the actual remaining buffer length before passing data to the LightPcapNg parser. Applications deployed in network-facing contexts that auto-parse captured traffic should consider disabling the LightPcapNg backend specifically in favor of stricter input paths. Note that adding a wrapper check may require modifications to calling code and could mask other length-handling issues elsewhere in the parser - a proper upstream patch remains the authoritative fix.
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 (CPE: cpe:2.3:a:seladb:pcapplusplus:*:*:*:*:*:*:*:*) is a C++ multi-platform network packet processing library maintained by seladb on GitHub. The vulnerable component is the LightPcapNg Parser, implemented in light_pcapng.c, which reads the pcapng (PCAP Next Generation) file format - a structured binary format used for network packet captures. CWE-122 (Heap-based Buffer Overflow) occurs within parse_by_block_type when the captured_packet_length field from a pcapng block header is consumed without adequate bounds validation prior to its use in a heap memory copy operation. An attacker who controls this field value can cause the parser to write beyond the allocated heap buffer boundary. Despite CWE-122 frequently enabling code execution, the CVSS 4.0 vector's impact assignment of VA:L with VC:N/VI:N/SC:N/SI:N/SA:N suggests the exploitable outcome in practice is limited to process termination.
Know when Pcapplusplus gets its next vulnerability
- 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:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
AV:N reflects potential network delivery of crafted pcapng input; AC:H due to required precise length crafting; impact limited to A:L per source CVSS 4.0 assignment with no C or I impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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-based buffer overflow. It is possible to initiate the attack remotely. The attack's complexity is rated as high. The exploitability is described as difficult. The exploit has been made public and could be used.
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.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
EUVD-2026-40134
GHSA-94c3-8cq4-gwwg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB