Skip to main content
VulnerabilityPublished Updated

CVE-2026-56016: Libcgi session perl · CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session

Affects libcgi-session-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-56016· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libcgi-session-perlpkg:deb/ubuntu/libcgi-session-perl?arch=source&distro=stonkingOther threatsAffected
  • =4.48-4build1
  • =4.49-1
Fixed in–
Ubuntu 26.04 LTSlibcgi-session-perlpkg:deb/ubuntu/libcgi-session-perl?arch=source&distro=resoluteOther threatsAffected
  • =4.48-4build1
Fixed in–
Ubuntu 25.10libcgi-session-perlpkg:deb/ubuntu/libcgi-session-perl?arch=source&distro=questingOther threatsAffected
  • =4.48-4build1
Fixed in–
Ubuntu 24.04 LTSlibcgi-session-perlpkg:deb/ubuntu/libcgi-session-perl?arch=source&distro=nobleOther threatsAffected
  • =4.48-4
Fixed in–
Ubuntu 22.04 LTSlibcgi-session-perlpkg:deb/ubuntu/libcgi-session-perl?arch=source&distro=jammyOther threatsAffected
  • =4.48-3
Fixed in–
Ubuntu 20.04 LTSlibcgi-session-perlpkg:deb/ubuntu/libcgi-session-perl?arch=source&distro=focalOther threatsAffected
  • =4.48-3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…