{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-6485","published":"2017-03-01T20:59:00.220000Z","last_modified":"2026-06-17T00:51:15.333000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-327"],"cpes":[{"criteria":"cpe:2.3:a:magento:magento2:-:*:*:*:*:*:*:*","part":"a","vendor":"magento","product":"magento2"}],"cpes_truncated":false,"vendors":["magento"],"products":["magento/magento2"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h7qw-mxrm-c6h2","ecosystem":"Packagist","name":"magento/community-edition","purl":"pkg:composer/magento/community-edition","ranges":[{"introduced":"2.0","fixed":"2.2.6"}],"versions":["2.0.0","2.0.0-rc","2.0.0-rc2","2.0.1","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.0-rc1","2.1.0-rc2","2.1.0-rc3","2.1.1","2.1.10","2.1.11","2.1.12","2.1.13","2.1.14","2.1.15","2.1.16","2.1.17","2.1.18","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5"]},{"advisory":"GHSA-h7qw-mxrm-c6h2","ecosystem":"Packagist","name":"magento/project-community-edition","purl":"pkg:composer/magento/project-community-edition","ranges":[{"introduced":"2.0","last_affected":"2.0.2"}],"versions":["2.0.0","2.0.0-rc","2.0.0-rc2","2.0.1","2.0.2"]}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2016-6485/","html_en":"/en/cve/CVE-2016-6485/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-6485","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-6485"},"untrusted":{"vendor_name":"Magento","product_name":"Magento2","desc_en":"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.","affected":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/07/19/3","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/07/27/14","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/magento/magento2/pull/15017","tags":[]}]}}