CVE-2025-25066

Source
https://cve.org/CVERecord?id=CVE-2025-25066
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-25066.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-25066
Downstream
Published
2025-02-03T00:00:00Z
Modified
2026-08-18T17:52:52Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

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

Affected packages

Git / github.com/ntop/ndpi

Affected ranges

Type
GIT
Repo
https://github.com/ntop/ndpi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:ntop:ndpi:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "4.12"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.6
1.7
1.8
3.*
3.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-25066.json"
vanir_signatures
[
    {
        "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",
        "target":  {
            "file":  "src/lib/ndpi_cache.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "32987211547014809674843299595620034628",
            "length":  698
        },
        "id":  "CVE-2025-25066-653b5d35",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/ntop/ndpi/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb",
        "target":  {
            "file":  "src/lib/ndpi_cache.c",
            "function":  "ndpi_address_cache_restore"
        }
    }
]
vanir_signatures_modified
"2026-08-18T17:52:52Z"