CVE-2025-40924: Libcatalyst plugin session perl · Catalyst::Plugin::Session before version 0.44 for Perl generates
Affects libcatalyst-plugin-session-perlSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 24 Nov 2026, 20:10 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libcatalyst-plugin-session-perlpkg:deb/ubuntu/libcatalyst-plugin-session-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibcatalyst-plugin-session-perlpkg:deb/ubuntu/libcatalyst-plugin-session-perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10libcatalyst-plugin-session-perlpkg:deb/ubuntu/libcatalyst-plugin-session-perl?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibcatalyst-plugin-session-perlpkg:deb/ubuntu/libcatalyst-plugin-session-perl?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibcatalyst-plugin-session-perlpkg:deb/ubuntu/libcatalyst-plugin-session-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibcatalyst-plugin-session-perlpkg:deb/ubuntu/libcatalyst-plugin-session-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely. The session id is generated from a (usually SHA-1) hash of a simple counter, the epoch time, the built-in rand function, the PID and the current Catalyst context. This information is of low entropy. 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
- ubuntu.com/security/CVE-2025-40924 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40924 (opens in a new tab)
- github.com/perl-catalyst/Catalyst-Plugin-Session/commit/c0e2b4ab1e42ebce1008286db8c571b6ee98c22c.patch (opens in a new tab)
- github.com/perl-catalyst/Catalyst-Plugin-Session/pull/5 (opens in a new tab)
- metacpan.org/release/HAARG/Catalyst-Plugin-Session-0.43/source/lib/Catalyst/Plugin/Session.pm (opens in a new tab)