CVE-2025-25066

Source
https://nvd.nist.gov/vuln/detail/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-03T06:15:11Z
Modified
2025-10-17T23:35:08.035181Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

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

Affected versions

1.*

1.6
1.7
1.8

3.*

3.4

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/ntop/ndpi/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb",
        "id": "CVE-2025-25066-1b435a9e",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "127196996493088983110735393907734350923",
                "228992738150427806971155161373274606389",
                "27679272168881610569458560386967903836",
                "180684109067710005995863094091372398004"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "src/lib/ndpi_cache.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://github.com/ntop/ndpi/commit/678697b5eb6c3caa5dd5f8cccfe9eed8d13b94bb",
        "id": "CVE-2025-25066-653b5d35",
        "digest": {
            "function_hash": "32987211547014809674843299595620034628",
            "length": 698.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "ndpi_address_cache_restore",
            "file": "src/lib/ndpi_cache.c"
        },
        "signature_type": "Function"
    }
]