{"cve":"CVE-2018-16115","nvd":{"published":"2018-08-29T22:29:00.230","modified":"2026-06-17T01:43:43.810","status":"Modified","description":"Lightbend Akka 2.5.x before 2.5.16 allows message disclosure and modification because of an RNG error. A random number generator is used in Akka Remoting for TLS (both classic and Artery Remoting). Akka allows configuration of custom random number generators. For historical reasons, Akka included the AES128CounterSecureRNG and AES256CounterSecureRNG random number generators. The implementations had a bug that caused the generated numbers to be repeated after only a few bytes. The custom RNG implementations were not configured by default but examples in the documentation showed (and therefore implicitly recommended) using the custom ones. This can be used by an attacker to compromise the communication if these random number generators are enabled in configuration. It would be possible to eavesdrop, replay, or modify the messages sent with Akka Remoting/Cluster.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-338"],"references":["https://doc.akka.io/docs/akka/current/security/2018-08-29-aes-rng.html","https://doc.akka.io/docs/akka/current/security/2018-08-29-aes-rng.html"],"products":["lightbend:akka"],"source":"nvd","synced_at":"2026-10-19T20:53:14.491561039+00:00"},"epss":{"cve":"CVE-2018-16115","score":0.01186,"percentile":0.67868,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mr95-9rr4-668f","url":"https://osv.dev/vulnerability/GHSA-mr95-9rr4-668f","summary":"Cryptographically Weak Pseudo-Random Number Generator (PRNG) in akka-actor","modified":"2023-11-08T03:59:58.659739Z","packages":[{"ecosystem":"Maven","name":"com.typesafe.akka:akka-actor_2.11","purl":"pkg:maven/com.typesafe.akka/akka-actor_2.11","ranges":[">=2.5.0 <2.5.16"],"fixed":["2.5.16"]},{"ecosystem":"Maven","name":"com.typesafe.akka:akka-actor_2.12","purl":"pkg:maven/com.typesafe.akka/akka-actor_2.12","ranges":[">=2.5.0 <2.5.16"],"fixed":["2.5.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}