ALPINE-CVE-2026-56016

Source
https://security.alpinelinux.org/vuln/CVE-2026-56016
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-56016.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2026-56016
Upstream
  • CVE-2026-56016
Published
2026-07-01T08:16:21.883Z
Modified
2026-08-27T22:18:03.678768513Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.24 / perl-cgi-session

Package

Name
perl-cgi-session
Purl
pkg:apk/alpine/perl-cgi-session?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.49-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-56016.json"