CVE-2026-5087
HIGHDescription
PAGI::Middleware::Session::Store::Cookie versions through 0.001003 for Perl generates random bytes insecurely. PAGI::Middleware::Session::Store::Cookie attempts to read bytes from the /dev/urandom device directly. If that fails (for example, on systems without the device, such as Windows), then it will emit a warning that recommends the user install Crypt::URandom, and then return a string of random bytes generated by the built-in rand function, which is unsuitable for cryptographic applications. This modules does not use the Crypt::URandom module, and installing it will not fix the problem. The random bytes are used for generating an initialisation vector (IV) to encrypt the cookie. A predictable IV may make it easier for malicious users to decrypt and tamper with the session data that is stored in the cookie.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 24% of all known CVEs.
References
Related Vulnerabilities
Other CWE-338 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2008-0166 | High | 7.5 | 71% | - | Fix |
| CVE-2009-2367 | Critical | 9.8 | 23% | - | - |
| CVE-2024-29868 | Critical | 9.1 | 6.0% | - | - |
| CVE-2024-31497 | Medium | 5.9 | 5.8% | - | Fix |
| CVE-2021-43799 | High | 8.6 | 5.4% | - | Fix |
| CVE-2008-3280 | Medium | 5.9 | 4.0% | - | - |
Embed a live status badge for CVE-2026-5087
Markdown
[](https://tridentstack.com/cve/CVE-2026-5087)HTML
<a href="https://tridentstack.com/cve/CVE-2026-5087"><img src="https://tridentstack.com/cve/badge/CVE-2026-5087.svg" alt="CVE-2026-5087"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-03.