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

Published Jul 1, 2026
·
Updated

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

The generateid 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.

Affected Software

1 affected component
Perl CGI::Session::ID::md5<4.49

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade CGI::Session::ID::md5 to a version that resolves this vulnerability.

    Fixed in 4.49

Event History

Jul 1, 2026
CVE Published
via MITRE·06:46 AM
Data Sourced
via MITRE·06:46 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56016?

CVE-2026-56016 has a medium severity rating of 5.9 according to the CVSS 3.1 metrics.

2

How do I fix CVE-2026-56016?

To mitigate CVE-2026-56016, upgrade to CGI::Session::ID::md5 version 4.49 or later.

3

What impact does CVE-2026-56016 have on session security?

CVE-2026-56016 can lead to predictable session IDs, increasing the risk of session hijacking.

4

Which versions are affected by CVE-2026-56016?

CVE-2026-56016 affects all versions of CGI::Session::ID::md5 for Perl before 4.49.

5

What components are involved in the vulnerability CVE-2026-56016?

CVE-2026-56016 involves CGI::Session::ID::md5, which uses weak low-entropy sources for generating session IDs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203