CVE-2025-15604
CRITICALDescription
Amon2 versions before 6.17 for Perl use an insecure random_string implementation for security functions. In versions 6.06 through 6.16, the random_string function will attempt to read bytes from the /dev/urandom device, but if that is unavailable then it generates bytes by concatenating a SHA-1 hash seeded with the built-in rand() function, the PID, and the high resolution epoch time. 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. Before version 6.06, there was no fallback when /dev/urandom was not available. Before version 6.04, the random_string function used the built-in rand() function to generate a mixed-case alphanumeric string. This function may be used for generating session ids, generating secrets for signing or encrypting cookie session data and generating tokens used for Cross Site Request Forgery (CSRF) protection.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 41% of all known CVEs.
References
Related Vulnerabilities
Other CWE-338 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2008-0166 | High | 7.5 | 71% | - | Fix |
| CVE-2009-2367 | Critical | 9.8 | 23% | - | - |
| CVE-2024-29868 | Critical | 9.1 | 6.0% | - | - |
| CVE-2024-31497 | Medium | 5.9 | 5.8% | - | Fix |
| CVE-2021-43799 | High | 8.6 | 5.4% | - | Fix |
| CVE-2008-3280 | Medium | 5.9 | 4.0% | - | - |
Embed a live status badge for CVE-2025-15604
Markdown
[](https://tridentstack.com/cve/CVE-2025-15604)HTML
<a href="https://tridentstack.com/cve/CVE-2025-15604"><img src="https://tridentstack.com/cve/badge/CVE-2025-15604.svg" alt="CVE-2025-15604"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-01.