Skip to content
Heist/ feed
UnratedFix available

ALPINE-CVE-2026-56016

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

ALPINE-CVE-2026-56016

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:ALPINE-CVE-2026-56016

perl-cgi-session

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
4.49-r0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "4.49-r0"
          }
        ]
      }
    ],
    "package": {
      "name": "perl-cgi-session",
      "purl": "pkg:apk/alpine/perl-cgi-session?arch=source",
      "ecosystem": "Alpine:v3.24"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-56016.json"
    },
    "ecosystem_specific": {}
  }
]

Publisher severity

No explicit severity was provided.

Event
#54537 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement