Insufficient Entropy Affecting perl-CGI-Session package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.36% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-PERLCGISESSION-17798149
  • published2 Jul 2026
  • disclosed1 Jul 2026

Introduced: 1 Jul 2026

CVE-2026-56016  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 perl-CGI-Session.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-CGI-Session package and not the perl-CGI-Session package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1