CVE-2026-8503

NameCVE-2026-8503
DescriptionApache::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libapache-session-browseable-perl (PTS)bullseye1.3.8-1vulnerable
bookworm1.3.11-3vulnerable
trixie1.3.16-1vulnerable
forky, sid1.3.19-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libapache-session-browseable-perlsource(unstable)1.3.19-1

Notes

[trixie] - libapache-session-browseable-perl <no-dsa> (Minor issue)
[bookworm] - libapache-session-browseable-perl <no-dsa> (Minor issue)
[bullseye] - libapache-session-browseable-perl <postponed> (Minor issue, hard to exploit)
https://lists.security.metacpan.org/cve-announce/msg/40079348/
https://github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776eec3dd8bf4748b15fa827dbd0 (v1.3.19)

Search for package or bug name: Reporting problems