CVE Explore

Vulnerability in Markstos Cgi::session::id::md5

CVE-2026-56016

CVSS v3
5.9 Medium
Public exploits
None known
EPSS
0.005 · 44.3th percentile
Published
2026-07-01

CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources.

The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are predictable, low-entropy sources: the PID is drawn from a small range, the epoch time can be guessed or read from the HTTP Date header, and Perl's rand() is unsuitable for security purposes because it is predictable and reversible.

An attacker who predicts a session id can impersonate the corresponding session and bypass authentication.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Attack Vector
Network AV:N
Attack Complexity
High AC:H
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
None I:N
Availability
None A:N

EPSS exploit prediction

EPSS 0.005, 44.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References