CVE-2026-8503Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libapache-session-browseable-perl | Fix pending | UBUNTU-CVE-2026-8503 | |
| Ubuntu 26.04 | libapache-session-browseable-perl | Under investigation | UBUNTU-CVE-2026-8503 | |
| Ubuntu 25.10 | libapache-session-browseable-perl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-8503 | |
| Ubuntu 24.04 | libapache-session-browseable-perl | Under investigation | UBUNTU-CVE-2026-8503 | |
| Ubuntu 22.04 | libapache-session-browseable-perl | Under investigation | UBUNTU-CVE-2026-8503 | |
| Ubuntu 20.04 | libapache-session-browseable-perl | Fix pending | UBUNTU-CVE-2026-8503 | |
| Ubuntu 18.04 | libapache-session-browseable-perl | Fix pending | UBUNTU-CVE-2026-8503 | |
| Ubuntu 16.04 | libapache-session-browseable-perl | Fix pending | UBUNTU-CVE-2026-8503 | |
| Debian 14 | libapache-session-browseable-perl | Fixed | 1.3.19-1 | DEBIAN-CVE-2026-8503 |
| Debian 13 | libapache-session-browseable-perl | Fixed | 1.3.16-1+deb13u1 | DEBIAN-CVE-2026-8503 |
| Debian 12 | libapache-session-browseable-perl | Fixed | 1.3.11-3+deb12u1 | DEBIAN-CVE-2026-8503 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GUIMARD Apache::Session::Generate::SHA256: affected: before 1.3.19; fixed in
1.3.19
Workaround: Upgrade to version 1.3.19 or later.
Vendor advisories:
- https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes (release-notes)
- https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4… (patch)
References
- https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes
- https://metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/diff/GUIMARD/Apache-Session-Browseable-1.3.18#lib/Apache/Session/Generate/SHA256.pm
- https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4748b15fa827dbd0.patch
- https://www.cve.org/CVERecord?id=CVE-2025-40931
- https://www.cve.org/CVERecord?id=CVE-2025-40932
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.