Home / Ntop / Ntopng / CVE-2018-12520
CVE-2018-12520: is it exploited, and which versions of Ntopng are affected and fixed?
CVE-2018-12520 is an incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) vulnerability in Ntopng. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: ntopng from 3.4 before 3.4.180617 (NVD). Fixed in 3.4.180617 (NVD). Severity: High (8.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:31 UTC.
What is CVE-2018-12520?
An issue was discovered in ntopng 3.4 before 3.4.180617. The PRNG involved in the generation of session IDs is not seeded at program startup. This results in deterministic session IDs being allocated for active user sessions. An attacker with foreknowledge of the operating system and standard library in use by the host running the service and the username of the user whose session they're targeting can abuse the deterministic random number generation in order to hijack the user's session, thus escalating their access.
From the CVE record by mitre, last updated August 5, 2024, 08:38 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ntop | ntopng | from 3.4 before 3.4.180617 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:37 UTC.
How severe is CVE-2018-12520?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-12520 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 10.2% probability of exploitation activity in the next 30 days, percentile 95.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
Where are the vendor advisories and references?
- https://github.com/ntop/ntopng/commit/30610bda60cbfc058f90a1c0a17d0e8f4516221a x_refsource_CONFIRM
- 44973 exploit, x_refsource_EXPLOIT-DB
- 20180702 ntop-ng < 3.4.180617 - Authentication bypass / session hijacking mailing-list, x_refsource_FULLDISC
- https://gist.github.com/Psychotropos/3e8c047cada9b1fb716e6a014a428b7f x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 17, 2018
- Published
- July 5, 2018, 20:00 UTC
- CVE record updated
- August 5, 2024, 08:38 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:37 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:31 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ntopng?
- Nov 5, 2026CVE-2026-97371 ntopng: stack buffer overflow
- Nov 5, 2026CVE-2026-82413 ntopng: command injection
- Sep 21, 2026CVE-2026-84990 ntopng: information disclosure
- Sep 21, 2026CVE-2026-83621 ntopng: missing authorization
- Sep 21, 2026CVE-2026-82412 ntopng: OS command injection
- Sep 4, 2026CVE-2026-86091 ntopng: missing authorization
- Sep 4, 2026CVE-2026-86090 ntopng: missing authorization
- Sep 3, 2026CVE-2026-84989 ntopng: missing authorization
Questions about CVE-2018-12520
Is CVE-2018-12520 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 10.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ntopng are affected by CVE-2018-12520?
ntopng from 3.4 before 3.4.180617, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-12520?
3.4.180617, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-12520?
High (8.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-12520?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.