CVE-2026-5088 Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
An attacker can predict password salts due to insecure random generation, potentially facilitating password cracking attacks against systems using this Perl library.
- 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-2026-5088?
CVE-2026-5088 is a high-severity vulnerability in JDEGUEST Apache::API::Password, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts.
The _make_salt and _make_salt_bcrypt methods will attept to load Crypt::URandom and then Bytes::Random::Secure to generate random bytes for the salt. If those modules are unavailable, it will simply return 16 bytes generated with Perl's built-in rand function.
The rand function is unsuitable for cryptographic use.
These salts are used for password hashing.
Weakness: CWE-338
Which versions are affected by CVE-2026-5088?
It affects 1 product.
Products include Jdeguest Apache\.
How do I fix CVE-2026-5088?
No fix has been published for CVE-2026-5088 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-5088 being exploited?
There is no known exploitation of CVE-2026-5088 in the wild and no public exploit code.
Sources
Also known as GHSA-r6g6-6h6f-xcmj.