{"id":"UBUNTU-CVE-2025-2814","details":"Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where \"/dev/urandom'\" is unavailable. In that case, Crypt::CBC will fallback to use the insecure rand() function.","modified":"2026-05-20T16:10:34.503929081Z","published":"2025-04-13T00:15:00Z","upstream":["CVE-2025-2814"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-2814"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-2814"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/28699380/"},{"type":"REPORT","url":"https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777"},{"type":"REPORT","url":"https://perldoc.perl.org/functions/rand"},{"type":"REPORT","url":"https://security.metacpan.org/docs/guides/random-data-for-security.html"}],"affected":[{"package":{"name":"libcrypt-cbc-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.33-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-cbc-perl","binary_version":"2.33-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2814.json"}},{"package":{"name":"libcrypt-cbc-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.33-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-cbc-perl","binary_version":"2.33-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2814.json"}},{"package":{"name":"libcrypt-cbc-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.33-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.33-2","binary_name":"libcrypt-cbc-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2814.json"}},{"package":{"name":"libcrypt-cbc-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.33-2","3.04-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-cbc-perl","binary_version":"3.04-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2814.json"}},{"package":{"name":"libcrypt-cbc-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-cbc-perl","binary_version":"3.04-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2814.json"}},{"package":{"name":"libcrypt-cbc-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04-3","3.07-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.07-1","binary_name":"libcrypt-cbc-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2814.json"}},{"package":{"name":"libcrypt-cbc-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-cbc-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.07-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.07-1","binary_name":"libcrypt-cbc-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2814.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}