CVE-2025-40924: Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely

Published Jul 17, 2025
·
Updated

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.

Affected Software

1 affected component
Catalyst Plugin::Session<0.44

Remediation

Information

Users are advised to upgrade to Catalyst-Plugin-Session version 0.44 or later.

Event History

Jul 17, 2025
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-40924?

The severity of CVE-2025-40924 is high due to the insecure generation of session IDs leading to potential session hijacking.

2

How do I fix CVE-2025-40924?

To fix CVE-2025-40924, upgrade Catalyst::Plugin::Session to version 0.44 or later.

3

What systems are affected by CVE-2025-40924?

CVE-2025-40924 affects versions of Catalyst::Plugin::Session prior to 0.44.

4

Why is CVE-2025-40924 a concern for developers?

CVE-2025-40924 is a concern because it can allow attackers to predict session IDs and hijack user sessions.

5

How does CVE-2025-40924 impact user security?

CVE-2025-40924 impacts user security by potentially exposing sensitive session information to attackers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203