Back
CVE-2016-6485
The __construct function in Framework/Encryption/Crypt.php in Magento 2 uses the PHP rand function to generate a random number for the…
High7.5EPSS 0.85%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The __construct function in Framework/Encryption/Crypt.php in Magento 2 uses the PHP rand function to generate a random number for the initialization vector, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by guessing the value.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.85% · top 42% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistmagento/community-editionGHSA-h7qw-mxrm-c6h2 (opens in a new tab)
- Packagistmagento/project-community-editionGHSA-h7qw-mxrm-c6h2 (opens in a new tab)
References (3)
- https://github.com/magento/magento2/pull/15017 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20160719 Ruining the Magic of Magento's Encryption Library (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20160727 Re: Ruining the Magic of Magento's Encryption Library (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h7qw-mxrm-c6h2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .