Ado::Sessions versions through 0.935 for Perl generates insecure session ids. The session id is generated from 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. Predicable session ids could allow an attacker to gain access to systems. Note that Ado is no longer maintained, and has been removed from the CPAN index. It is still available on BackPAN.
History

Wed, 08 Apr 2026 06:00:00 +0000

Type Values Removed Values Added
Description Ado::Sessions versions through 0.935 for Perl generates insecure session ids. The session id is generated from 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. Predicable session ids could allow an attacker to gain access to systems. Note that Ado is no longer maintained, and has been removed from the CPAN index. It is still available on BackPAN.
Title Ado::Sessions versions through 0.935 for Perl generates insecure session ids
Weaknesses CWE-338
CWE-340
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-04-08T05:53:16.963Z

Updated: 2026-04-08T05:53:16.963Z

Reserved: 2026-03-28T19:14:30.969Z

Link: CVE-2026-5083

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-08T06:16:29.163

Modified: 2026-04-08T06:16:29.163

Link: CVE-2026-5083

cve-icon Redhat

No data.