# CVE-2026-5085: Solstice::Session versions through 1440 for Perl generates session ids insecurely

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-02)
- Published: 2026-04-13T06:56:14.964Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-338, CWE-340
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Solstice: up to 1440
- mcrawfor solstice::session: 1440

## References

- <https://metacpan.org/dist/Solstice/source/lib/Solstice/Session.pm#L481> (product)
- <https://metacpan.org/dist/Solstice/source/lib/Solstice/Subsession.pm#L105> (product)
- <https://security.metacpan.org/docs/guides/random-data-for-security.html> (technical-description, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2026/04/13/2> (mailing-list)

## Sources

- CVE List: [CVE-2026-5085](https://www.cve.org/CVERecord?id=CVE-2026-5085), CVE Terms of Use, modified 2026-04-13
- NVD: [CVE-2026-5085](https://nvd.nist.gov/vuln/detail/CVE-2026-5085), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-5085 · Whole record: https://cve.day/CVE-2026-5085.json · Rebuilt by cve.day 2026-11-25T22:59:18.601Z
