CVE-2026-56016MARKSTOS CGI::Session::ID::md5
Medium 5.9 No auth needed
Follow: this CVE · MARKSTOS · MARKSTOS CGI::Session::ID::md5 We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Jul 1, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for CGI::Session::ID::md5.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- MARKSTOS · CGI::Session::ID::md5
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- perl-CGI-Session-4.490.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11168-1 · Jul 1, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.