Skip to main content

PcapPlusPlus CVE-2026-13589

| EUVDEUVD-2026-40150 LOW
Buffer Overflow (CWE-119)
2026-06-29 cna@vuldb.com GHSA-x5wv-5f96-x49c
2.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Position on monitored network segment
  2. Delivery
    Craft malformed Telnet subnegotiation packet
  3. Exploit
    Deliver packet to PcapPlusPlus capture interface
  4. Execution
    Trigger getSubCommand heap buffer overflow
  5. Impact
    Achieve 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 getSubCommand(). The library processes the packet without adequate length validation, triggering a heap corruption event that may result in limited data disclosure, memory tampering, or application instability. A publicly available proof-of-concept (poc.zip hosted on GitHub) demonstrates the triggering condition, though successful weaponization into reliable code execution would require additional heap shaping due to the high attack complexity rating.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.6% 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 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

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 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

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 requires no authentication (PR:N) but demands precise malformed packet crafting (AC:H); all CIA impacts limited to partial effects with no scope change.

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 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

EPSS Score
0.6%
Top 58% exploitable
Prevalence
Low
niche C++ packet analysis library, limited enterprise footprint
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.6%
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

35
Low Medium High Critical
KEV: 0
EPSS: +1
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