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

Medium 6.3 Published Updated

A heap-based buffer overflow in PcapPlusPlus Modbus handler allows remote attackers to potentially execute code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-13590?

CVE-2026-13590 is a medium-severity memory corruption vulnerability in seladb PcapPlusPlus, published on 29 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2026-13590?

How do I fix CVE-2026-13590?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-13590 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-13590 exists.

Sources

Also known as GHSA-r3g9-96ff-r4rp.

Is CVE-2026-13590 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free