CPANSA-Solstice-2026-5085: Solstice vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-04-13T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-04-13T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.1 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
Solstice::Session versions through 1440 for Perl generates session ids insecurely. The _generateSessionID method returns an MD5 digest seeded by the epoch time, a random hash reference, a call to the built-in rand() function and the process id. The same method is used in the _generateID method in Solstice::Subsession, which is part of the same distribution. The epoch time may be guessed, if it is not leaked in the HTTP Date header. Stringified hash refences will contain predictable content. The built-in rand() function is seeded by 16-bits and is unsuitable for security purposes. The process id comes from a small set of numbers. Predictable session ids could allow an attacker to gain access to systems.
Vulnerabilities
CVE-2026-5085
Vulnerability DescriptionSolstice::Session versions through 1440 for Perl generates session ids insecurely.
The _generateSessionID method returns an MD5 digest seeded by the epoch time, a random hash reference, a call to the built-in rand() function and the process id.
The same method is used in the _generateID method in Solstice::Subsession, which is part of the same distribution.
The epoch time may be guessed, if it is not leaked in the HTTP Date header. Stringified hash refences will contain predictable content. The built-in rand() function is seeded by 16-bits and is unsuitable for security purposes. The process id comes from a small set of numbers.
Predictable session ids could allow an attacker to gain access to systems.
| Weakness | CWE-338 : Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Solstice greater than 0 |
|
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Solstice-2026-5085 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-solstice-2026-5085.json - https://metacpan.org/dist/Solstice/source/lib/Solstice/Session.pm#L481 external
https://metacpan.org/dist/Solstice/source/lib/Solstice/Session.pm#L481 - https://metacpan.org/dist/Solstice/source/lib/Solstice/Subsession.pm#L105 external
https://metacpan.org/dist/Solstice/source/lib/Solstice/Subsession.pm#L105 - https://security.metacpan.org/docs/guides/random-data-for-security.html external
https://security.metacpan.org/docs/guides/random-data-for-security.html - http://www.openwall.com/lists/oss-security/2026/04/13/2 external
http://www.openwall.com/lists/oss-security/2026/04/13/2 - CVE-2026-5085 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-5085
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Mon Apr 13 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/