CVE-2007-2727 Weak cryptography in n/a

Low 2.6 Published Updated

Predictable initialization vectors in PHP mcrypt allow attackers to decrypt data more easily due to weak random number generation.

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

What is CVE-2007-2727?

CVE-2007-2727 is a low-severity vulnerability in Php Php, published on 16 May 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The mcrypt_create_iv function in ext/mcrypt/mcrypt.c in PHP before 4.4.7, 5.2.1, and possibly 5.0.x and other PHP 5 versions, calls php_rand_r with an uninitialized seed variable and therefore always generates the same initialization vector (IV), which might allow context-dependent attackers to decrypt certain data more easily because of the guessable encryption keys.

Which versions are affected by CVE-2007-2727?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-2727?

No fix has been published for CVE-2007-2727 yet. Limit exposure of the affected software until one is available.

Is CVE-2007-2727 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-4j4f-jw3x-9gm3.

Is CVE-2007-2727 in your software?

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

Check your SBOMs for free