CVE-2026-16235

Crypt::Password versions through 0.28 for Perl generate insecure random values for salts

Published Jul 20, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Crypt::Password versions through 0.28 for Perl generate insecure random values for salts.

These versions use the built-in rand function, which is predictable and unsuitable for cryptography.

Remediation

Vendor Workaround

Users can generate a salt manually using a module such as Crypt::URandom::Token, and pass the salt directly to the password and crypt_password methods. This module has not been updated since 2012. Users should migrate to an alternative solution.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Drsteve
Drsteve crypt::password
Vendors & Products Drsteve
Drsteve crypt::password
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Crypt::Password versions through 0.28 for Perl generate insecure random values for salts. These versions use the built-in rand function, which is predictable and unsuitable for cryptography.
Title Crypt::Password versions through 0.28 for Perl generate insecure random values for salts
Weaknesses CWE-338
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jul 20, 2026, 6:38 PM
Reserved
Jul 19, 2026, 3:48 PM
Status
Deferred
Published
Jul 20, 2026, 7:16 AM
Modified
Oct 24, 2026, 8:10 PM