Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-40926 Details

Description

Plack::Middleware::Session::Simple versions before 0.05 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. Predictable session ids could allow an attacker to gain access to systems. Plack::Middleware::Session::Simple is intended to be compatible with Plack::Middleware::Session, which had a similar security issue CVE-2025-40923.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)CPANSec
CWE-340Generation of Predictable Numbers or IdentifiersCPANSec

Affected Products

ProductVersions
kazeburo plack::middleware::session::simple
< 0.05

CPE

  • cpe:2.3:a:kazeburo:plack::middleware::session::simple:*:*:*:*:*:perl:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-40926
NVD Published Date:
Mar 5, 2026
NVD Last Modified:
Jun 17, 2026
Source:
CPANSec
CVE-2025-40926 Details - Not Deferred