ADVISORIES

Vulnerability

CVE-2016-1902

The nextBytes function in the SecureRandom class in Symfony before 2.3.37, 2.6.x before 2.6.13, and 2.7.x before 2.7.9 does not properly generate random numbers when used with PHP 5.x without the paragonie/random_compat library and the openssl_random_pseudo_bytes function fails, which makes it easier for attackers to defeat cryptographic protection mechanisms via unspecified vectors.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All Debian 2Packagist 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2016-1902

    The nextBytes function in the SecureRandom class in Symfony before 2.3.37, 2.6.x before 2.6.13, and 2.7.x before 2.7.9 does not properly generate random numbers when used with PHP 5.x without the paragonie/random_compat…

    CVE-2016-1902 Debian Updated 22 September 2026
  • DSA-3588-1

    symfony - security update

    CVE-2016-1902CVE-2016-4423 Debian Updated 20 November 2026
  • GHSA-jjx5-fq5g-8xpc

    Symfony Cryptographic Vulnerability

    High CVE-2016-1902 Packagist Updated 18 February 2024
  • UBUNTU-CVE-2016-1902

    The nextBytes function in the SecureRandom class in Symfony before 2.3.37, 2.6.x before 2.6.13, and 2.7.x before 2.7.9 does not properly generate random numbers when used with PHP 5.x without the paragonie/random_compat…

    CVE-2016-1902 Ubuntu Updated 16 July 2025

References