{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40923","published":"2025-07-16T13:15:23.997000Z","last_modified":"2026-06-17T09:22:17.947000Z","status":"Deferred","cvss":{"version":"3.1","score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-338","CWE-340"],"cpes":[],"cpes_truncated":false,"vendors":["miyagawa"],"products":["miyagawa/plack-middleware-session"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":59,"links":{"html_es":"/es/cve/CVE-2025-40923/","html_en":"/en/cve/CVE-2025-40923/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40923","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40923"},"untrusted":{"vendor_name":"MIYAGAWA","product_name":"Plack::Middleware::Session","desc_en":"Plack-Middleware-Session before version 0.35 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\nPredicable session ids could allow an attacker to gain access to systems.","affected":[{"untrusted_vendor":"MIYAGAWA","untrusted_product":"Plack::Middleware::Session","versions":[]}],"references":[{"url":"https://github.com/plack/Plack-Middleware-Session/commit/1fbfbb355e34e7f4b3906f66cf958cedadd2b9be.patch","tags":[]},{"url":"https://github.com/plack/Plack-Middleware-Session/pull/52","tags":[]},{"url":"https://metacpan.org/release/MIYAGAWA/Plack-Middleware-Session-0.34/source/lib/Plack/Session/State.pm#L22","tags":[]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/16/4","tags":[]}]}}