What’s Vulnerable › Vulnerabilities
CVE-2024-57854: Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-05 · updated 2026-06-17
- Weakness: CWE-338
Description
Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator. Version v0.003 switched to use Data::Rand::Obscure instead of Crypt::Random for generation of a random initialisation vectors. Data::Rand::Obscure uses Perl's built-in rand() function, which is not suitable for cryptographic functions.
Affected products
- DOUGDUDE Net::Nsca::Client: through 0.009002
References
- https://metacpan.org/release/DOUGDUDE/Net-NSCA-Client-0.009002/source/lib/Net/NSCA/Client/InitialPacket.pm#L119
- https://patch-diff.githubusercontent.com/raw/dougwilson/perl5-net-nsca-client/pull/2.patch
- http://www.openwall.com/lists/oss-security/2026/03/05/1
Get alerted when CVE-2024-57854 or the next vulnerability affects your stack