CVE-2026-56016 CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- metacpan.org release-notes
- metacpan.org related
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2495858 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-56016 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking