Security mailing lists by PureSourceCode

CVE-2016-6485

HIGH 7.5CVSS 3.0

Unauthenticated crypto and weak IV in Magento\Framework\Encryption

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.

Published
1 Mar 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-327
Also known as
GHSA-h7qw-mxrm-c6h2
Sources
NVDJSONOSV GHSA-h7qw-mxrm-c6h2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD magento magento2
cpe:2.3:a:magento:magento2:-:*:*:*:*:*:*:*
(no version)
OSV Packagist magento/community-edition >= 2.0, < 2.2.6 2.2.6
OSV Packagist magento/project-community-edition >= 2.0, <= 2.0.2

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 1 Mar 2017)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 Nov 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.