Vulnerability · Published Mar 26, 2025 · Assigned by CPANSec

CVE-2025-27552DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Crypt/Eksblowfish/Bcrypt.pm

Medium 4.0

In plain English

A medium-severity security flaw in DBIx::Class::EncodedColumn from WREIS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.1%top 98.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

DBIx::Class::EncodedColumn use the rand() function, which is not cryptographically secure to salt password hashes. This vulnerability is associated with program files Crypt/Eksblowfish/Bcrypt.pm. This issue affects DBIx::Class::EncodedColumn until 0.00032.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libdbix-class-encodedcolumn-perlno fix listedDEBIAN-CVE-2025-27552
Debian:13libdbix-class-encodedcolumn-perl0.00020-3DEBIAN-CVE-2025-27552
Debian:14libdbix-class-encodedcolumn-perl0.00020-3DEBIAN-CVE-2025-27552
Ubuntu:22.04:LTSlibdbix-class-encodedcolumn-perlno fix listedUBUNTU-CVE-2025-27552
Ubuntu:24.04:LTSlibdbix-class-encodedcolumn-perlno fix listedUBUNTU-CVE-2025-27552
Ubuntu:25.10libdbix-class-encodedcolumn-perlno fix listedUBUNTU-CVE-2025-27552
Ubuntu:26.04:LTSlibdbix-class-encodedcolumn-perlno fix listedUBUNTU-CVE-2025-27552
Ubuntu:26.10libdbix-class-encodedcolumn-perlno fix listedUBUNTU-CVE-2025-27552

Affected products (as reported)

VendorProductVersions
WREIS DBIx::Class::EncodedColumn 0 – before 0.00032

Weakness: CWE-338, CWE-916, CWE-331 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References