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