{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40926","published":"2026-03-05T02:16:39.790000Z","last_modified":"2026-06-17T09:22:18.360000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-338","CWE-340"],"cpes":[{"criteria":"cpe:2.3:a:kazeburo:plack\\:\\:middleware\\:\\:session\\:\\:simple:*:*:*:*:*:perl:*:*","part":"a","vendor":"kazeburo","product":"plack::middleware::session::simple","version_end_excluding":"0.05"}],"cpes_truncated":false,"vendors":["kazeburo"],"products":["kazeburo/plack-middleware-session-simple"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2025-40926/","html_en":"/en/cve/CVE-2025-40926/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40926","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40926"},"untrusted":{"vendor_name":"Kazeburo","product_name":"Plack::middleware::session::simple","desc_en":"Plack::Middleware::Session::Simple versions before 0.05 for Perl generates session ids insecurely.\n\nThe default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.\n\nPredictable session ids could allow an attacker to gain access to systems.\n\nPlack::Middleware::Session::Simple is intended to be compatible with Plack::Middleware::Session, which had a similar security issue CVE-2025-40923.","affected":[{"untrusted_vendor":"KAZEBURO","untrusted_product":"Plack::Middleware::Session::Simple","versions":[]}],"references":[{"url":"https://github.com/kazeburo/Plack-Middleware-Session-Simple/commit/760bb358b8f53e52cf415888a4ac858fd99bb24e.patch","tags":["Patch"]},{"url":"https://github.com/kazeburo/Plack-Middleware-Session-Simple/pull/4","tags":["Issue Tracking","Patch"]},{"url":"https://metacpan.org/release/KAZEBURO/Plack-Middleware-Session-Simple-0.04/source/lib/Plack/Middleware/Session/Simple.pm#L43","tags":["Issue Tracking","Product"]},{"url":"https://metacpan.org/release/KAZEBURO/Plack-Middleware-Session-Simple-0.05/changes","tags":[]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["Third Party Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40923","tags":["Third Party Advisory"]}]}}