CVE-2024-57854 Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator

Critical 9.1 Published Updated

The Perl Net::NSCA::Client library uses a non-cryptographic random number generator, potentially weakening security for users relying on it for secure communications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-57854?

CVE-2024-57854 is a critical vulnerability in DOUGDUDE Net::NSCA::Client, published on 5 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-338

Which versions are affected by CVE-2024-57854?

It affects 1 product.

Products include Dougdude Net\.

How do I fix CVE-2024-57854?

No fix has been published for CVE-2024-57854 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-57854 being exploited?

There is no known exploitation of CVE-2024-57854 in the wild and no public exploit code.

Sources

Also known as GHSA-98r5-r223-6xwf.

Is CVE-2024-57854 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free