The __construct function in Framework/Encryption/Crypt.php in Magento 2 uses the PHP rand…
Priority LOW 34CWE-327Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-327.
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.
Why it matters now
EPSS 0.00846 58th percentileScored 2026-11-07
Fix Fixed magento/community-edition (Packagist): 2.2.6
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | magento/community-edition (Packagist) | 2.0 to before 2.2.6 | 2.2.6 | Patch available | GHSA-h7qw-mxrm-c6h2 |
| — | magento/project-community-edition (Packagist) | 2.0 – 2.0.2 | — | No fix listed | GHSA-h7qw-mxrm-c6h2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- magento/community-edition (Packagist) Vendor— Affected 2.0 to before 2.2.6 Fixed in 2.2.6 Patch available GHSA-h7qw-mxrm-c6h2
- magento/project-community-edition (Packagist) Vendor— Affected 2.0 – 2.0.2 Fixed in — No fix listed GHSA-h7qw-mxrm-c6h2
Remediation
- Fix · GHSA-h7qw-mxrm-c6h2 magento/community-edition (Packagist) Fixed in 2.2.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2016-6485
- 2026-10-03 Alias added: GHSA-h7qw-mxrm-c6h2
References
Advisory 3
Sources
- CVE-2016-6485 · CVE Program
- CVE-2016-6485 · NVD
- FIRST EPSS
- GHSA-h7qw-mxrm-c6h2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences