Skip to content
OpenAdvisories
High ALAS2-2026-3805 1 CVE

Important: perl-CGI-Session security update (Amazon Linux 2)

Published Jul 20, 2026 · Updated Jul 20, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-56016: 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.

Fixed packages 1

ReleasePackageFixed in
Amazon Linux · 2 perl-CGI-Session 0:4.35-16.amzn2.0.1

Vulnerabilities 1

  • Medium 5.9

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

    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 pr…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-56016.html