{"id":"CVE-2026-6146","summary":"Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys","details":"Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys.\n\nAmazon::Credentials stores credentials in an obfuscated form to prevent access to the secrets from a data dump of the object.\n\nBefore version 1.3.0, the secrets were encrypted using a 64-bit key that was generated using the built-in rand function, which is predictable and unsuitable for cryptography.","modified":"2026-07-08T08:09:59.471754169Z","published":"2026-05-11T19:12:17.630Z","database_specific":{"cwe_ids":["CWE-338"],"cna_assigner":"CPANSec","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6146.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/05/11/15"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.2.0/source/lib/Amazon/Credentials.pm#L1415-1418"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6146.json"},{"type":"ADVISORY","url":"https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.3.0/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6146"},{"type":"PACKAGE","url":"https://github.com/rlauer6/Amazon-Credentials"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rlauer6/amazon-credentials","events":[{"introduced":"0"},{"last_affected":"fd198ef83c3c6e1755ed6496a4fb4de18a62068a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"1.2.0"}],"source":"AFFECTED_FIELD"}}],"versions":["1.2.0","1.1.26","1.1.25","1.1.24","1.1.23","1.1.22","1.1.21","1.1.20","1.1.19","1.1.18","1.1.16","1.1.14","1.1.12","1.1.11","1.1.10","1.1.9","1.1.8","1.1.7","1.1.6","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","Release-1.0.10-1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6146.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}