CVE-2016-6485 json
Unauthenticated crypto and weak IV in Magento\Framework\Encryption
published 2017-03-01 9 y ago modified 2026-06-17 4 mo ago also GHSA-h7qw-mxrm-c6h2 , EUVD-2019-0751
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
0.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | magento/community-edition | >=2.0, <2.2.6 |
2.2.6 |
| packagist | magento/project-community-edition | >=2.0, <=2.0.2 |
no fix listed |
Classification
- Weakness
-
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
References
-
github.com
/magento/magento2/pull/15017
web
-
openwall.com
/lists/oss-security/2016/07/19/3
mailing-list, web, third-party-advisory
-
openwall.com
/lists/oss-security/2016/07/27/14
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-6485
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2016-6485.yaml
web
Sources
- CVE List CVE-2016-6485
- GitHub Advisory GHSA-h7qw-mxrm-c6h2
- NVD CVE-2016-6485
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.