CVE-2026-56016
published medium CVSS 3.1 · 5.9CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MARKSTOS | — | CGI-SessionCGI::Session::ID::md5 · 0 to < 4.49 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3805 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | perl-cgi-session | Fixed | 4.49-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGI-Sessionaarch64 | Advisory build | 4.490.0-1.1 | OPENSUSE-SU-2026:11168-1 |
| Amazon Linux | AL2 | perl-CGI-Sessionnoarch | Listed in advisory | Not stated | ALAS2-2026-3805 |
| Alpine Linux | v3.24 | perl-cgi-session | Fixed | 4.49-r0 | Package fix record |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGI-Sessionppc64le | Advisory build | 4.490.0-1.1 | OPENSUSE-SU-2026:11168-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGI-Sessions390x | Advisory build | 4.490.0-1.1 | OPENSUSE-SU-2026:11168-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-CGI-Sessionx86_64 | Advisory build | 4.490.0-1.1 | OPENSUSE-SU-2026:11168-1 |
| Amazon Linux | AL2 | perl-CGI-Sessionsrc | Listed in advisory | Not stated | ALAS2-2026-3805 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MARKSTOS | CGI::Session::ID::md5 | 0 to < 4.49 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
References
3Provider assertions
3CPANSec · cna
CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 75cbd9f7944c222b4bff6eb3cbd5091fbeab2ea3e4edcff08ba85820fd69f425
- Ingested
- 23 Sep 2026, 09:21:01 UTC
- Source record
- Official CVE record