cve.bz

CVE-2026-5081 chorny apache\: Predictable from Observable State

9.1 criticalEPSS 0.5%

Critical (9.1) in chorny apache\. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.5% (up from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-26. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-340 Generation of Predictable Numbers or Identifiers
CWE-341 Predictable from Observable State
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-5081 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5081?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5081?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5081 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • chorny:apache\

Versions

From the CNA's record in the CVE List.

ProductAffected
CHORNY Apache::Session::Generate::ModUniqueIdfrom 1.54 through 1.94

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libapache-session-perlno fix listedDEBIAN-CVE-2026-5081
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morelibapache-session-perlno fix listedUBUNTU-CVE-2026-5081

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

To mitigate this issue, applications utilizing Apache::Session should be reconfigured to use a cryptographically secure session ID generation mechanism instead of Apache::Session::Generate::ModUniqueId. For example, consider using Apache::Session::Generate::MD5, Apache::Session::Generate::SHA256, or Apache::Session::Generate::Random, which provide stronger randomness for session identifiers. Consult your application's documentation for specific configuration instructions.

ProductPackageStateAdvisory
Red Hat Hardened ImagesperlNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-5081.

References

Check your stackJSON