Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. magento/project-community-edition
  4. ›
  5. CVE-2016-6485

CVE-2016-6485: Unauthenticated crypto and weak IV in Magento\Framework\Encryption

November 20, 2019 (updated February 10, 2025)

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2016-6485.yaml
  • github.com/advisories/GHSA-h7qw-mxrm-c6h2
  • github.com/magento/magento2/pull/15017
  • nvd.nist.gov/vuln/detail/CVE-2016-6485

Code Behaviors & Features

Detect and mitigate CVE-2016-6485 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0 up to 2.0.2

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

packagist/magento/project-community-edition/CVE-2016-6485.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:51 +0000.