CVE-2015-8867 Weak cryptography in n/a

High 7.5 Published Updated

PHP's openssl_random_pseudo_bytes function uses a deprecated weak random number generator, allowing attackers to bypass cryptographic protections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-8867?

CVE-2015-8867 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 22 May 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The openssl_random_pseudo_bytes function in ext/openssl/openssl.c in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 incorrectly relies on the deprecated RAND_pseudo_bytes function, which makes it easier for remote attackers to defeat cryptographic protection mechanisms via unspecified vectors.

Weakness: CWE-310

Which versions are affected by CVE-2015-8867?

It affects 2 products.

Products include Canonical Ubuntu Linux, Php Php.

How do I fix CVE-2015-8867?

Upgrade to a fixed version.

Is CVE-2015-8867 being exploited?

There is no known exploitation of CVE-2015-8867 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-33q5-mhvx-53mf, UBUNTU-CVE-2015-8867.

Is CVE-2015-8867 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free