Description
A security flaw has been discovered in seladb PcapPlusPlus 25.05. This impacts the function pcpp::ModbusLayer::getLength in the library Packet++/header/ModbusLayer.h of the component Modbus Protocol Handler. The manipulation of the argument length results in heap-based buffer overflow. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is said to be difficult. The exploit has been released to the public and may be used for attacks. The patch is identified as 4c90c3e3418a2b09dc82b7ca5775e9c1e22fe454. Applying a patch is advised to resolve this issue.
Published: 2026-06-29
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A buffer overflow exists in the pcpp::ModbusLayer::getLength function of the Modbus protocol handler in PcapPlusPlus. Manipulating the length argument causes a heap‑based overflow, potentially allowing an attacker to overwrite memory and gain arbitrary code execution. The flaw is triggered by remote network traffic and the vulnerability is classified as high complexity and difficult to exploit, yet public exploit code has already been released.

Affected Systems

seladb PcapPlusPlus 25.05 is affected. The flaw resides in the ModbusLayer.h component of the library. Installing the patch identified by commit 4c90c3e3418a2b09dc82b7ca5775e9c1e22fe454 resolves the issue.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, while the EPSS score is not available. The vulnerability is not listed in CISA KEV. An attacker can potentially launch the attack remotely, but success requires non‑trivial effort and knowledge of the Modbus payload. Publicly available exploit code increases the risk of real‑world attacks. During this period, vulnerability exploitation is considered difficult but not impossible.

Generated by OpenCVE AI on June 29, 2026 at 18:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the commit 4c90c3e3418a2b09dc82b7ca5775e9c1e22fe454 to the PcapPlusPlus source code or update to a later release that includes the fix.
  • If the patch cannot be applied immediately, avoid exposing the affected systems to untrusted Modbus traffic by implementing firewall rules or network segmentation.
  • Conduct a code audit and static analysis on the ModbusLayer implementation to detect similar heap‑based overflows or other input‑validation issues.

Generated by OpenCVE AI on June 29, 2026 at 18:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 30 Jun 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 29 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description A security flaw has been discovered in seladb PcapPlusPlus 25.05. This impacts the function pcpp::ModbusLayer::getLength in the library Packet++/header/ModbusLayer.h of the component Modbus Protocol Handler. The manipulation of the argument length results in heap-based buffer overflow. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is said to be difficult. The exploit has been released to the public and may be used for attacks. The patch is identified as 4c90c3e3418a2b09dc82b7ca5775e9c1e22fe454. Applying a patch is advised to resolve this issue.
Title seladb PcapPlusPlus Modbus Protocol ModbusLayer.h getLength heap-based overflow
First Time appeared Seladb
Seladb pcapplusplus
Weaknesses CWE-119
CWE-122
CPEs cpe:2.3:a:seladb:pcapplusplus:*:*:*:*:*:*:*:*
Vendors & Products Seladb
Seladb pcapplusplus
References
Metrics cvssV2_0

{'score': 5.1, 'vector': 'AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 5.6, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.3, 'vector': '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'}


Subscriptions

Seladb Pcapplusplus
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-06-30T15:34:56.090Z

Reserved: 2026-06-29T04:25:34.242Z

Link: CVE-2026-13590

cve-icon Vulnrichment

Updated: 2026-06-30T15:34:14.831Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-29T23:30:05Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow