CVE-2025-40933CWE-338CWE-340

CVE-2025-40933

High · published September 17, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
34.1
In the wild
Unconfirmed
What it is

Apache::AuthAny::Cookie v0.201 or earlier for Perl generates session ids insecurely.

Session ids are generated using an MD5 hash of the epoch time and a call to the built-in rand function. 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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00410 · 34.1th percentile
Weaknesses
CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG); CWE-340 · Generation of Predictable Numbers or Identifiers
Published
2025-09-17T19:15Z
References (1)
EPSS history
Timeline
  • 17 SEP 14:25Z
    Apache::AuthAny::Cookie v0.201 or earlier for Perl generates session ids insecurely
    cvelistv5