CVE-2025-27552
DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Crypt/Eksblowfish/Bcrypt.pm
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.0
DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Crypt/Eksblowfish/Bcrypt.pm
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.
- Record
CVE-2025-27552- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-338, CWE-916, CWE-331
- Updated
- 2026-11-02
EUVDEUVD-2025-8117
4.0
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.
- Record
EUVD-2025-8117- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9x23-xcrx-fq3q
4.0
DBIx::Class::EncodedColumn use the rand() function, which is not cryptographically secure to salt...
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.
- Record
GHSA-9x23-xcrx-fq3q- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-331, CWE-338
- Updated
- 2026-11-02
NVD
4.0
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.
- Record
CVE-2025-27552- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-331, CWE-338, CWE-916
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-27552
4.0
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.
- Record
DEBIAN-CVE-2025-27552- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-27552
4.0
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.
- Record
UBUNTU-CVE-2025-27552- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2025-27552- Updated
- 2026-11-02
OSVMGASA-2026-0176 No score
Updated perl-DBIx-Class-EncodedColumn and new perl-Crypt-URandom-Token packages fix security vulnerabilities
The updated perl-DBIx-Class-EncodedColumn and new perl-Crypt-URandom-Token packages fix security issues: DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Digest.pm (CVE-2025-27551) DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Crypt/Eksblowfish/Bcrypt.pm (CVE-2025-27552)
- Record
MGASA-2026-0176- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libdbix-class-encodedcolumn-perlDebian:12 |
All versions, plus listed versions 0.00020-20.00020-3 |
None known |
libdbix-class-encodedcolumn-perlDebian:13 |
before 0.00020-3 | 0.00020-3 |
libdbix-class-encodedcolumn-perlDebian:14 |
before 0.00020-3 | 0.00020-3 |
perl-DBIx-Class-EncodedColumnMageia:9 From an advisory covering 2 CVEs |
before 0.110.0-1.mga9 | 0.110.0-1.mga9 |
perl-Crypt-URandom-TokenMageia:9 From an advisory covering 2 CVEs |
before 0.005-1.mga9 | 0.005-1.mga9 |
libdbix-class-encodedcolumn-perlUbuntu:16.04:LTS |
All versions, plus listed versions 0.00013-1 |
None known |
libdbix-class-encodedcolumn-perlUbuntu:18.04:LTS |
All versions, plus listed versions 0.00015-1 |
None known |
libdbix-class-encodedcolumn-perlUbuntu:20.04:LTS |
All versions, plus listed versions 0.00016-10.00020-1 |
None known |
libdbix-class-encodedcolumn-perlUbuntu:22.04:LTS |
All versions, plus listed versions 0.00020-1 |
None known |
libdbix-class-encodedcolumn-perlUbuntu:24.04:LTS |
All versions, plus listed versions 0.00020-2 |
None known |
libdbix-class-encodedcolumn-perlUbuntu:25.10 |
All versions, plus listed versions 0.00020-20.00020-3 |
None known |
libdbix-class-encodedcolumn-perlUbuntu:26.10 |
All versions, plus listed versions 0.00020-3 |
None known |
libdbix-class-encodedcolumn-perlUbuntu:26.04:LTS |
All versions, plus listed versions 0.00020-3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-27552 is a medium vulnerability (CVSS 4.0) in Wreis Dbix::class::encodedcolumn, published March 26, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.12%, the 1st percentile. Fixed in libdbix-class-encodedcolumn-perl 0.00020-3.
References
security.metacpan.org/docs/guides/random-data-for-security.html
metacpan.org/release/WREIS/DBIx-Class-EncodedColumn-0.00032/changes
nvd.nist.gov/vuln/detail/CVE-2025-27552
github.com/advisories/GHSA-9x23-xcrx-fq3q
security-tracker.debian.org/tracker/CVE-2025-27552
advisories.mageia.org/MGASA-2026-0176.html
Show 6 moreShow less
bugs.mageia.org/show_bug.cgi?id=34215
lists.fedoraproject.org/archives/list/[email protected]/message/PZO6ZQ5X5UGT2U2IHHPDXAJUDE27HTUX
lists.fedoraproject.org/archives/list/[email protected]/message/CTXKJZJLOFULT3WQ46ITSLDFTLG4YKJ2
ubuntu.com/security/CVE-2025-27552
cve.org/CVERecord?id=CVE-2025-27552
github.com/wreis/DBIx-Class-EncodedColumn/commit/5e9e51f574f7e64e8c014e9e4f00ee8fd87a5335