Bug 2495886 - CVE-2026-56016 perl-CGI-Session: perl-CGI-Session: Authentication bypass via predictable session IDs [fedora-all]
Summary: CVE-2026-56016 perl-CGI-Session: perl-CGI-Session: Authentication bypass via ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-CGI-Session
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Andreas Thienemann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["9350baf0-9378-4a94-9dd5-3...
Depends On:
Blocks: CVE-2026-56016
TreeView+ depends on / blocked
 
Reported: 2026-07-01 10:58 UTC by Rohit Keshri
Modified: 2026-07-01 10:58 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Rohit Keshri 2026-07-01 10:58:48 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.