All reports
High

Unauthenticated crypto and weak IV in Magento\Framework\Encryption

Affected versions

Affected versions
>= 2.0, < 2.2.6
Fixed version
2.2.6
Affected versions
>=2.0,<2.1|>=2.1,<2.2|>=2.2,<2.2.6
Fixed version
Not reported
Affected versions
>= 2.0, <= 2.0.2
Fixed version
Not reported

Exploitation

CVE-2016-6485

Probability of exploitation in the next 30 days: 0.85%

FIRST EPSS · 2026-11-23

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.

Links