Bug 2495858 (CVE-2026-56016) - CVE-2026-56016 perl-CGI-Session: perl-CGI-Session: Authentication bypass via predictable session IDs
Summary: CVE-2026-56016 perl-CGI-Session: perl-CGI-Session: Authentication bypass via ...
Keywords:
Status: NEW
Alias: CVE-2026-56016
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2495886
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-01 09:01 UTC by OSIDB Bzimport
Modified: 2026-07-01 11:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-01 09:01:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.