CVE-2025-25066 Memory corruption in nDPI

High 8.1 Published Updated

A stack-based buffer overflow in nDPI allows attackers to execute arbitrary code or cause denial of service via crafted network traffic.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-25066?

CVE-2025-25066 is a high-severity memory corruption vulnerability in ntop nDPI, published on 3 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

nDPI through 4.12 has a potential stack-based buffer overflow in ndpi_address_cache_restore in lib/ndpi_cache.c.

Weakness: CWE-121

Which versions are affected by CVE-2025-25066?

It affects 1 product.

Products include Ntop Ndpi.

How do I fix CVE-2025-25066?

No fix has been published for CVE-2025-25066 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2025-25066 being exploited?

There is no known exploitation of CVE-2025-25066 in the wild and no public exploit code.

Sources

Also known as GHSA-h979-77j7-hx8x, UBUNTU-CVE-2025-25066.

Is CVE-2025-25066 in your software?

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

Check your SBOMs for free