{"id":"CVE-2025-25066","details":"nDPI through 4.12 has a potential stack-based buffer overflow in ndpi_address_cache_restore in lib/ndpi_cache.c.","modified":"2026-08-12T15:16:22.527227Z","published":"2025-02-03T00:00:00Z","database_specific":{"cna_assigner":"mitre","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25066.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25066.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25066"},{"type":"FIX","url":"https://github.com/ntop/nDPI/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ntop/ndpi","events":[{"introduced":"0"},{"fixed":"678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:ntop:ndpi:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"4.12"}]}}],"versions":["3.4","1.8","1.7","1.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25066.json","vanir_signatures_modified":"2026-08-12T15:16:22Z","vanir_signatures":[{"target":{"file":"src/lib/ndpi_cache.c"},"deprecated":false,"digest":{"line_hashes":["127196996493088983110735393907734350923","228992738150427806971155161373274606389","27679272168881610569458560386967903836","180684109067710005995863094091372398004"],"threshold":0.9},"id":"CVE-2025-25066-1b435a9e","signature_type":"Line","signature_version":"v1","source":"https://github.com/ntop/ndpi/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb"},{"source":"https://github.com/ntop/ndpi/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb","target":{"file":"src/lib/ndpi_cache.c","function":"ndpi_address_cache_restore"},"deprecated":false,"digest":{"function_hash":"32987211547014809674843299595620034628","length":698},"id":"CVE-2025-25066-653b5d35","signature_type":"Function","signature_version":"v1"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}