# CVE-2026-6146: Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-05-11T19:12:17.630Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys.

Amazon::Credentials stores credentials in an obfuscated form to prevent access to the secrets from a data dump of the object.

Before 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.

(As written by CVE List.)

## Affected

- Amazon-Credentials: up to 1.2.0

## References

- <https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.2.0/source/lib/Amazon/Credentials.pm#L1415-1418>
- <https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.3.0/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/05/11/15>

## Sources

- CVE List: [CVE-2026-6146](https://www.cve.org/CVERecord?id=CVE-2026-6146), CVE Terms of Use, modified 2026-05-13
- NVD: [CVE-2026-6146](https://nvd.nist.gov/vuln/detail/CVE-2026-6146), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-6146 · Whole record: https://cve.day/CVE-2026-6146.json · Rebuilt by cve.day 2026-11-25T22:59:21.257Z
