CVE-2026-5081 Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Apache::Session::Generate::ModUniqueId versions from 1.54 through 1.94 for Perl session ids are insecure.
Apache::Session::Generate::ModUniqueId (added in version 1.54) uses the value of the UNIQUE_ID environment variable for the session id. The UNIQUE_ID variable is set by the Apache mod_unique_id plugin, which generates unique ids for the request. The id is based on the IPv4 address, the process id, the epoch time, a 16-bit counter and a thread index, with no obfuscation.
The server IP is often available to the public, and if not available, can be guessed from previous session ids being issued. The process ids may also be guessed from previous session ids. The timestamp is easily guessed (and leaked in the HTTP Date response header).
The purpose of mod_unique_id is to assign a unique id to requests so that events can be correlated in different logs. The id is not designed, nor is it suitable for security purposes.
Upgrade path
9 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libapache-session-perl(Debian 12) | = 1.94-2; All versions | No fix listed | No fix yet |
| debian/libapache-session-perl(Debian 13) | = 1.94-2; All versions | No fix listed | No fix yet |
| debian/libapache-session-perl(Debian 14) | = 1.94-2; All versions | No fix listed | No fix yet |
| ubuntu/libapache-session-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libapache-session-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libapache-session-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libapache-session-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| CHORNY Apache::Session::Generate::ModUniqueId | >= 1.54, <= 1.94 | after 1.94 | Fixed |
| redhat hummingbird | = 1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| CHORNY Apache::Session::Generate::ModUniqueId | >= 1.54, <= 1.94 | No fix listed |
| redhat hummingbird | = 1 | No fix listed |
| debian/libapache-session-perl(Debian:12) | All versions | No fix listed |
| debian/libapache-session-perl(Debian:12) | = 1.94-2 | No fix listed |
| debian/libapache-session-perl(Debian:13) | All versions | No fix listed |
| debian/libapache-session-perl(Debian:13) | = 1.94-2 | No fix listed |
| debian/libapache-session-perl(Debian:14) | All versions | No fix listed |
| debian/libapache-session-perl(Debian:14) | = 1.94-2 | No fix listed |
| ubuntu/libapache-session-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libapache-session-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libapache-session-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libapache-session-perl(Ubuntu:26.10) | All versions | No fix listed |
References
- httpd.apache.org product technical-description
- metacpan.org product
- www.openwall.com mailing-list third-party-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2467174 issue-tracking
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-5081 vendor-advisory
- Ubuntu CVE tracker vendor-advisory