# CVE-2026-5084: WebDyne::Session versions before 3.003_704 for Perl generate the session id insecurely

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-05-11T06:37:19.384Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-338, CWE-340
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

WebDyne::Session versions before 3.003_704 for Perl generate the session id insecurely.

The session handler generates the session id from an MD5 hash seeded with a call to the built-in rand() function. The rand function is passed a maximum value based on the process id, the epoch time and the reference address of the object, but this information will have no effect on the overall quality of the seed of the message digest.

The rand function is seeded by 32-bits and is predictable. It is considered unsuitable for cryptographic purposes.

Predictable session ids could allow an attacker to gain access to systems.

Note that WebDyne::Session versions 1.042 and earlier appear to be in separate distributions from WebDyne.

(As written by CVE List.)

## Affected

- WebDyne: before 3.003_704

## References

- <https://metacpan.org/release/ASPEER/WebDyne-2.075/source/lib/WebDyne/Session.pm#L120>
- <https://github.com/aspeer/WebDyne/commit/7a3f949dc24e62a276eb0db629db64aca356e954.patch> (patch)
- <https://webdyne.org>
- <https://security.metacpan.org/docs/guides/random-data-for-security.html> (technical-description)
- <http://www.openwall.com/lists/oss-security/2026/05/11/3>

## Sources

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

---

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