Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition on monitored network segment
-
DeliveryCraft malformed Telnet subnegotiation packet
-
ExploitDeliver packet to PcapPlusPlus capture interface
-
ExecutionTrigger getSubCommand heap buffer overflow
-
ImpactAchieve limited heap memory corruption
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 application must embed PcapPlusPlus version 25.05 AND must be actively parsing Telnet protocol traffic through the TelnetLayer API - applications that do not invoke Telnet subnegotiation parsing are not exposed. The attacker must be able to inject or deliver a crafted Telnet subnegotiation packet into the traffic stream being captured and parsed by the vulnerable application, which typically means presence on the monitored network segment or control over a traffic source the sensor observes. The CVSS 4.0 vector specifies PR:N (no authentication required) and UI:N (no user interaction needed), confirming no credentials or victim action are prerequisites. AC:H significantly limits exploitation - successful triggering requires precise subnegotiation packet construction. Exploitation is not possible against applications that filter Telnet traffic before parsing or that do not use the TelnetLayer component. |
| Impact | The CVSS 4.0 score of 2.9 (Low) accurately reflects a constrained real-world risk profile despite this being a memory corruption class vulnerability. The AC:H metric is the dominant limiting factor - exploiting the heap overflow requires precise knowledge of the Telnet subnegotiation packet structure and the ability to inject crafted packets into the stream being parsed. Impact metrics VC:L/VI:L/VA:L indicate partial memory effects rather than full system compromise, suggesting the overflow is constrained in scope. The E:P supplemental metric confirms a public POC exists, which is a meaningful escalation signal, but the absence of a CISA KEV listing means no confirmed active in-the-wild exploitation has been recorded. No EPSS score was provided in the input data, so exploitation probability cannot be numerically assessed. The POC availability and zero authentication requirement (PR:N) are risk-elevating factors for defenders maintaining network monitoring infrastructure, but the combination of high complexity and niche library deployment substantially limits realistic attack surface. |
| Exploit ScenarioDerived | An attacker positioned on a network segment monitored by an application using PcapPlusPlus 25.05 - such as a packet analyzer or IDS sensor - transmits a crafted Telnet subnegotiation packet with malformed suboption data that exceeds expected buffer bounds in |
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 Telnet subnegotiation packet parser allows remote attackers to corrupt heap memory by sending a specially crafted Telnet subnegotiation packet to any application embedding this library. The flaw in pcpp::TelnetLayer::getSubCommand (Packet++/src/TelnetLayer.cpp) results in low-level confidentiality, integrity, and availability impact against the parsing process. A proof-of-concept exploit (poc.zip) is publicly available on GitHub, but no active exploitation has been confirmed via CISA KEV, and the high attack complexity (AC:H in the provided CVSS 4.0 vector) keeps the overall score at a low 2.9.
RemediationAI
Apply the upstream fix by integrating or updating to the commit identified by patch hash 98e671010bc7c87b95898c22ae289220ae92542b, available via GitHub PR #2161 at https://github.com/seladb/PcapPlusPlus/pull/2161. This is an upstream fix via pull request; a specific patched tagged release version was not independently confirmed in the provided input data - maintainers and downstream consumers should monitor the repository for a post-25.05 release. As a compensating control for applications where upgrading is not immediately feasible, disable or exclude Telnet protocol layer parsing if the feature is not operationally necessary - this eliminates the vulnerable code path at the cost of losing Telnet traffic visibility. Additionally, applications passively monitoring untrusted network segments should consider filtering Telnet traffic (TCP port 23) at the capture filter level before it reaches the PcapPlusPlus parser.
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 is an open-source, multi-platform C++ library for network packet capture, parsing, and crafting, commonly embedded in network analyzers, intrusion detection tools, and research utilities. The vulnerable function pcpp::TelnetLayer::getSubCommand(), located in Packet++/src/TelnetLayer.cpp, processes Telnet subnegotiation sequences (IAC SB ... IAC SE) without adequately enforcing memory boundary checks. This falls under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), with the specific manifestation being a heap-based buffer overflow - meaning attacker-controlled data can overwrite heap metadata or adjacent allocations. No CPE strings were provided in the input data, but the description explicitly identifies version 25.05 as the affected release. The GitHub issue tracker (issue #2152) and PR #2161 document the vulnerability discovery and fix lifecycle.
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 requires no authentication (PR:N) but demands precise malformed packet crafting (AC:H); all CIA impacts limited to partial effects with no scope change.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
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 overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitability is reported as difficult. The exploit is publicly available and might be used. The identifier of the patch is 98e671010bc7c87b95898c22ae289220ae92542b. It is recommended to apply a patch to fix 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-40150
GHSA-x5wv-5f96-x49c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB