CVE-2025-40932
Apache::SessionX versions through 2.01 for Perl create insecure session id
- State
- Published
- Severity
- 8.2 High
- Published
- Feb 26, 2026
- Updated
- Feb 27, 2026
- Reserved
- Apr 16, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | CISA-ADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
Apache::SessionXGRICHTER |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.