CVE-2025-25066: nDPI through 4.12 has a potential stack-based buffer overflow in ndpi_address_cache_restore in lib/ndpi_cache.
CVE-2025-25066 is a high-severity flaw (CVSS 8.1) affecting ndpi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
nDPI through 4.12 has a potential stack-based buffer overflow in ndpi_address_cache_restore in lib/ndpi_cache.c.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 92%) |
| CISA exploited list | No |
| Weakness | CWE-121 |
| Published | 2025-02-03 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-25066?
ndpi: upgrade to newer than 4.12. Exact commands for each OS are on this page.
Is CVE-2025-25066 being exploited?
CVE-2025-25066 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-25066 affect?
CVE-2025-25066 affects ndpi. Severity is high (CVSS 8.1). nDPI through 4.12 has a potential stack-based buffer overflow in ndpi_address_cache_restore in lib/ndpi_cache.c.
How urgent is CVE-2025-25066?
Priority 30/100. High severity