Skip to main content
VulnerabilityPublished Updated

CVE-2025-40923: Libplack middleware session perl · Plack-Middleware-Session before version 0.35 for Perl generates

Affects libplack-middleware-session-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-40923· High 7.3

Not known to be exploited · CVSS 7.3 High.

Data as of 24 Nov 2026, 20:10 UTC

CVSS 3.1 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.17.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jul 2025

  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 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 25.10libplack-middleware-session-perlpkg:deb/ubuntu/libplack-middleware-session-perl?arch=source&distro=questingOther threatsAffected
  • =0.34-1
  • =0.36-1
Fixed in–
Ubuntu 24.04 LTSlibplack-middleware-session-perlpkg:deb/ubuntu/libplack-middleware-session-perl?arch=source&distro=nobleOther threatsAffected
  • =0.33-2
Fixed in–
Ubuntu 22.04 LTSlibplack-middleware-session-perlpkg:deb/ubuntu/libplack-middleware-session-perl?arch=source&distro=jammyOther threatsAffected
  • =0.33-1
Fixed in–
Ubuntu 20.04 LTSlibplack-middleware-session-perlpkg:deb/ubuntu/libplack-middleware-session-perl?arch=source&distro=focalOther threatsAffected
  • =0.32-1
  • =0.33-1
Fixed in–
Ubuntu 18.04 LTSlibplack-middleware-session-perlpkg:deb/ubuntu/libplack-middleware-session-perl?arch=source&distro=bionicOther threatsAffected
  • =0.30-1
  • =0.30-2
Fixed in–
Ubuntu 16.04 LTSlibplack-middleware-session-perlpkg:deb/ubuntu/libplack-middleware-session-perl?arch=source&distro=xenialOther threatsAffected
  • =0.30-1
Fixed in–

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

Description

Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage. Predicable session ids could allow an attacker to gain access to systems.

References

Community reviews

Loading reviews…