CVE-2026-38968

Source
https://cve.org/CVERecord?id=CVE-2026-38968
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-38968.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-38968
Downstream
Published
2026-07-02T00:00:00Z
Modified
2026-10-28T11:12:20Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

ntopng through 6.6 is vulnerable to Predictable Session Identifier which can lead to Session Hijacking. HTTP session identifiers in src/HTTPserver.cpp use weak time-seeded pseudo-randomness during session creation. As a result, fresh authenticated logins can receive deterministic or colliding session cookies under attacker-controlled timing.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/38xxx/CVE-2026-38968.json"
}
References

Affected packages

Git / github.com/ntop/ntopng

Affected ranges

Type
GIT
Repo
https://github.com/ntop/ntopng
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:ntop:ntopng:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "6.6"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "14e22497233dc7d31d19dccb74b13bb073d16c2c"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "179a346ceb6239fd36128ccca3efa8f9ea61eeb5"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

2.*
2.4
3.*
3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-38968.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "211697810152087229156418338573789112203",
                "168120822095342428726405150237413410858",
                "270178659766335363810788631592255279146",
                "242296050304007544010960108171027938257",
                "157372631891831033857319167769033974856",
                "277969217852653895302132642888389286951"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-38968-4ae6d3f3",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/ntop/ntopng/commit/14e22497233dc7d31d19dccb74b13bb073d16c2c",
        "target": {
            "file": "src/HTTPserver.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "193256935631589748718765877406510665500",
            "length": 343
        },
        "id": "CVE-2026-38968-64828344",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/ntop/ntopng/commit/14e22497233dc7d31d19dccb74b13bb073d16c2c",
        "target": {
            "file": "src/HTTPserver.cpp",
            "function": "generate_session_id"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "222009431419484334841177881786736600980",
                "247004660132795391032667421878610856806",
                "238053543687649376743449774594964555522",
                "332223907074496970045900132675129378415",
                "298818670446966622846247040269399606233",
                "308947198914652828150337600470163820436",
                "16132733178538724815048124884242987162",
                "142807654398877257216642739537513008241",
                "261810662759194883816453991772616151567"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-38968-b9e45c83",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/ntop/ntopng/commit/179a346ceb6239fd36128ccca3efa8f9ea61eeb5",
        "target": {
            "file": "src/HTTPserver.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "111799603366028545207977962257464282993",
            "length": 254
        },
        "id": "CVE-2026-38968-e1b48ce8",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/ntop/ntopng/commit/179a346ceb6239fd36128ccca3efa8f9ea61eeb5",
        "target": {
            "file": "src/HTTPserver.cpp",
            "function": "generate_session_id"
        }
    }
]
vanir_signatures_modified
"2026-10-28T11:12:20Z"