Vulnerability in Kgoldov Apache::authany

CVE-2025-40933

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.

EPSS: 0.004 (30.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-40933?
CVE-2025-40933 is a high-severity vulnerability in Kgoldov Apache::authany, classified under Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). CVSS score: 7.5/10. Published 2025-09-17.
How severe is CVE-2025-40933?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2025-40933 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.