nDPI through 4.12 has a potential stack-based buffer overflow in ndpiaddresscacherestore in lib/ndpicache.c.
{
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25066.json",
"cna_assigner": "mitre"
}{
"cpe": "cpe:2.3:a:ntop:ndpi:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "4.12"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"2026-07-22T04:01:40Z"
[
{
"id": "CVE-2025-25066-1b435a9e",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"127196996493088983110735393907734350923",
"228992738150427806971155161373274606389",
"27679272168881610569458560386967903836",
"180684109067710005995863094091372398004"
]
},
"source": "https://github.com/ntop/ndpi/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb",
"target": {
"file": "src/lib/ndpi_cache.c"
}
},
{
"id": "CVE-2025-25066-653b5d35",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 698.0,
"function_hash": "32987211547014809674843299595620034628"
},
"source": "https://github.com/ntop/ndpi/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb",
"target": {
"function": "ndpi_address_cache_restore",
"file": "src/lib/ndpi_cache.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25066.json"