VYPR
High severity7.5NVD Advisory· Published Mar 1, 2017· Updated May 13, 2026

CVE-2016-6485

CVE-2016-6485

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
magento/community-editionPackagist
>= 2.0, < 2.2.62.2.6
magento/project-community-editionPackagist
>= 2.0, <= 2.0.2

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.