CVE-2026-8503 Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids.
Apache::Session::Generate::SHA256 generated session ids insecurely. The default session id generator returns a SHA-256 hash of the built-in rand() function, the epoch time, and the PID, that is hashed again. These are predictable, low-entropy sources. Predicable session ids could allow an attacker to gain access to systems.
Note that version 1.3.19 has a fallback without warning to use insecure session generation method if the call to Crypt::URandom::urandom fails. However, this is unlikely as Crypt::URandom is a hardcoded requirement of the module.
This issue is similar to CVE-2025-40931 for Apache::Session::Generate::MD5.
Upgrade path
8 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libapache-session-browseable-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libapache-session-browseable-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libapache-session-browseable-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libapache-session-browseable-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/libapache-session-browseable-perl(Debian 12) | < 1.3.11-3+deb12u1; = 1.3.11-3 | 1.3.11-3+deb12u1 | Fixed |
| debian/libapache-session-browseable-perl(Debian 13) | < 1.3.16-1+deb13u1; = 1.3.16-1 | 1.3.16-1+deb13u1 | Fixed |
| debian/libapache-session-browseable-perl(Debian 14) | < 1.3.19-1; = 1.3.16-1; = 1.3.17-1; = 1.3.18-1 | 1.3.19-1 | Fixed |
| GUIMARD Apache::Session::Generate::SHA256 | < 1.3.19 | 1.3.19 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GUIMARD Apache::Session::Generate::SHA256 | < 1.3.19 | 1.3.19 |
| debian/libapache-session-browseable-perl(Debian:12) | < 1.3.11-3+deb12u1 | 1.3.11-3+deb12u1 |
| debian/libapache-session-browseable-perl(Debian:12) | = 1.3.11-3 | No fix listed |
| debian/libapache-session-browseable-perl(Debian:13) | < 1.3.16-1+deb13u1 | 1.3.16-1+deb13u1 |
| debian/libapache-session-browseable-perl(Debian:13) | = 1.3.16-1 | No fix listed |
| debian/libapache-session-browseable-perl(Debian:14) | < 1.3.19-1 | 1.3.19-1 |
| debian/libapache-session-browseable-perl(Debian:14) | = 1.3.16-1 | No fix listed |
| debian/libapache-session-browseable-perl(Debian:14) | = 1.3.17-1 | No fix listed |
| debian/libapache-session-browseable-perl(Debian:14) | = 1.3.18-1 | No fix listed |
| ubuntu/libapache-session-browseable-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libapache-session-browseable-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libapache-session-browseable-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libapache-session-browseable-perl(Ubuntu:26.10) | All versions | No fix listed |
References
- metacpan.org release-notes
- metacpan.org product
- github.com patch
- www.cve.org related third-party-advisory
- www.cve.org related third-party-advisory
- Debian Security Tracker CVE-2026-8503 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org