CVE & CISA-KEV Catalog

CVE-2025-15604

CRITICAL
9.8
CVSS v3
NVD

Description

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

Remediation Available
amon2NVD
Affected:< 6.17Fixed in:6.17CVE-2025-15604derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.52%probability of exploitation in 30 days
41stpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2008-0166High7.571%-Fix
CVE-2009-2367Critical9.823%--
CVE-2024-29868Critical9.16.0%--
CVE-2024-31497Medium5.95.8%-Fix
CVE-2021-43799High8.65.4%-Fix
CVE-2008-3280Medium5.94.0%--
Embed a live status badge for CVE-2025-15604
CVE-2025-15604 severity badge

Markdown

[![CVE-2025-15604](https://tridentstack.com/cve/badge/CVE-2025-15604.svg)](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.

See how it worksStart freeThis CVE lookup is free and always will be.

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.