CVE-2025-40933 in Apache products
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 cryp...
Affects 0 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40933 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-035712-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2025-09-17 |
| Last modified | 2026-09-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-338: CWE-338
CWE-340: CWE-340
Analysis AI-written, not human-reviewed
Apache::AuthAny::Cookie v0.201 or earlier generates session IDs insecurely using MD5 and the rand function, which can lead to predictable session IDs and potential unauthorized access.
The vulnerability arises from the use of MD5 and the built-in rand function for session ID generation. An attacker could predict session IDs by guessing the epoch time from the HTTP Date header and exploiting the weaknesses in the rand function.
Questions
What is CVE-2025-40933?
Apache::AuthAny::Cookie v0.201 or earlier generates session IDs insecurely using MD5 and the rand function, which can lead to predictable session IDs and potential unauthorized access.
What is the CVSS score for CVE-2025-40933?
CVE-2025-40933 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.6%.
Is CVE-2025-40933 actively exploited?
No confirmed active exploitation of CVE-2025-40933 as of 2026-09-26.
How do I remediate CVE-2025-40933?
Priority: HIGH.
What systems are affected by CVE-2025-40933?
CVE-2025-40933 affects Apache; Epoch.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-26.