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

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-03-05T02:18:25.951Z
- Modified: 2026-06-17T08:14:06.687Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- Net-NSCA-Client: up to 0.009002
- dougdude net::nsca::client: up to 0.009002

## References

- <https://metacpan.org/release/DOUGDUDE/Net-NSCA-Client-0.009002/source/lib/Net/NSCA/Client/InitialPacket.pm#L119> (issue-tracking, product)
- <https://patch-diff.githubusercontent.com/raw/dougwilson/perl5-net-nsca-client/pull/2.patch> (patch)
- <http://www.openwall.com/lists/oss-security/2026/03/05/1> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-57854](https://www.cve.org/CVERecord?id=CVE-2024-57854), CVE Terms of Use, modified 2026-03-05
- NVD: [CVE-2024-57854](https://nvd.nist.gov/vuln/detail/CVE-2024-57854), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57854 · Whole record: https://cve.day/CVE-2024-57854.json · Rebuilt by cve.day 2026-11-25T22:58:52.984Z
