Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids

Summary

CVECVE-2026-8503
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-15 12:17:09 UTC
Updated2026-05-18 18:23:03 UTC
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.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS: 0.000410000 probability, percentile 0.124460000 (date 2026-05-26)

Problem Types: CWE-338 | CWE-340 | CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers | CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Guimard Apache \ session\ \ generate\

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA GUIMARD ApacheSessionGenerateSHA256 affected 1.3.19 custom Not specified

References

ReferenceSourceLinkTags
github.com/LemonLDAPNG/Apache-Session-Browseable/commit/cc915cbbd266776e... 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com Patch
www.cve.org/CVERecord 9b29abf9-4ab0-4765-b253-1875cd9b441e www.cve.org Third Party Advisory
metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org Release Notes
www.cve.org/CVERecord 9b29abf9-4ab0-4765-b253-1875cd9b441e www.cve.org Third Party Advisory
metacpan.org/release/GUIMARD/Apache-Session-Browseable-1.3.19/diff/GUIMARD... 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org Product
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2026-05-13T00:00:00.000ZIssue identified by CPANSec
CNA2026-05-13T00:00:00.000ZIssue reported to author
CNA2026-05-14T00:00:00.000ZVersion 1.3.19 released

Workarounds

CNA: Upgrade to version 1.3.19 or later.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report