{"id":"CVE-2025-40932","aliases":["DEBIAN-CVE-2025-40932","EUVD-2025-208124","GHSA-prr9-fcgf-vpxx","UBUNTU-CVE-2025-40932"],"status":"published","title":"Apache::SessionX versions through 2.01 for Perl create insecure session id","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00232,"percentile":0.14168,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-338","CWE-340"],"published":"2026-02-26T23:33:37Z","modified":"2026-10-17T12:56:51Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-5","2.01-6","2.01-7","2.01-8"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-5"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-5","2.01-6"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-6"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-6","2.01-7","2.01-8"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libapache-sessionx-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.01-6"]}],"products":[{"vendor":"grichter","product":"apache::sessionx"},{"vendor":"grichter","product":"apache\\"}],"references":[{"url":"https://metacpan.org/release/GRICHTER/Apache-SessionX-2.01/source/SessionX/Generate/MD5.pm#L29","tags":["related","Issue Tracking","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40932"},{"url":"https://github.com/advisories/GHSA-prr9-fcgf-vpxx"},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-40932","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-40932","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-40932","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/37425045/","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-40932","title":"Apache::SessionX versions through 2.01 for Perl create insecure session id","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2026-02-26T23:33:37.083Z","modified":"2026-02-27T18:41:24.407Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-340","CWE-338"],"updated_at":"2026-11-02T14:32:34.434755Z"}],"euvd":[{"id":"EUVD-2025-208124","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2026-02-26T23:33:37Z","modified":"2026-02-27T18:41:24Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T19:48:13.609806Z"}],"ghsa":[{"id":"GHSA-prr9-fcgf-vpxx","title":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX...","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2026-02-27T00:31:45Z","modified":"2026-02-27T21:32:27Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:06:25.269236Z"}],"nvd":[{"id":"CVE-2025-40932","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2026-02-27T00:16:55.107Z","modified":"2026-06-17T09:22:19.23Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-338","CWE-340"],"updated_at":"2026-11-02T14:12:01.096037Z"}],"osv":[{"id":"CVE-2025-40932","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id.\n\nApache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2026-02-27T00:16:55.107Z","modified":"2026-04-10T05:26:27.046049Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:49.394967Z"},{"id":"DEBIAN-CVE-2025-40932","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id.  Apache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2026-02-27T00:16:55.107Z","modified":"2026-09-01T20:05:52.38056244Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:46.998514Z"},{"id":"UBUNTU-CVE-2025-40932","description":"Apache::SessionX versions through 2.01 for Perl create insecure session id. Apache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 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. Predicable session ids could allow an attacker to gain access to systems.","status":"published","published":"2026-02-27T00:16:00Z","modified":"2026-10-17T12:56:51.561591981Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T16:55:46.53147Z"}]}}
