Skip to content

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

MediumCVSS 5.9 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

11 packages: 3 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
debian/libcgi-session-perl(Debian 12) = 4.48-4; = 4.49-1; All versions No fix listed No fix yet
debian/libcgi-session-perl(Debian 13) = 4.48-4; = 4.49-1; All versions No fix listed No fix yet
redhat/perl-CGI-Session(Red Hat rhel_els 6) All versions No fix listed No fix yet
redhat/perl-CGI-Session(Red Hat rhel_els 7) All versions No fix listed No fix yet
ubuntu/libcgi-session-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libcgi-session-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libcgi-session-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libcgi-session-perl(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/perl-cgi-session(Alpine v3.24) < 4.49-r0 4.49-r0 Fixed
debian/libcgi-session-perl(Debian 14) < 4.49-1; = 4.48-4 4.49-1 Fixed
MARKSTOS CGI::Session::ID::md5 < 4.49 4.49 Fixed

Affected products

ProductAffected versionsFixed in
MARKSTOS CGI::Session::ID::md5 < 4.49 4.49
redhat/perl-CGI-Session(Red Hat:rhel_els:6) All versions No fix listed
redhat/perl-CGI-Session(Red Hat:rhel_els:7) All versions No fix listed
debian/libcgi-session-perl(Debian:12) All versions No fix listed
debian/libcgi-session-perl(Debian:12) = 4.48-4 No fix listed
debian/libcgi-session-perl(Debian:12) = 4.49-1 No fix listed
debian/libcgi-session-perl(Debian:13) All versions No fix listed
debian/libcgi-session-perl(Debian:13) = 4.48-4 No fix listed
debian/libcgi-session-perl(Debian:13) = 4.49-1 No fix listed
debian/libcgi-session-perl(Debian:14) < 4.49-1 4.49-1
debian/libcgi-session-perl(Debian:14) = 4.48-4 No fix listed
ubuntu/libcgi-session-perl(Ubuntu:22.04) All versions No fix listed
alpine/perl-cgi-session(Alpine:v3.24) < 4.49-r0 4.49-r0
ubuntu/libcgi-session-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libcgi-session-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libcgi-session-perl(Ubuntu:26.10) All versions No fix listed

References