CVE-2007-2727

UnknownEPSS 1.86%

Last modified

CVE-2007-2727 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.86% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
1.86%

76.6th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
PhpPhp>= 4.4.0, < 4.4.7
PhpPhp>= 5.0.0, < 5.2.2
PhpPhp4.0.1
PhpPhp4.0.2
PhpPhp4.0.3
PhpPhp4.0.4
PhpPhp4.0.5
PhpPhp4.0.6
PhpPhp4.0.7
PhpPhp4.1.0
PhpPhp4.1.1
PhpPhp4.1.2
PhpPhp4.2.0
PhpPhp4.2.1
PhpPhp4.2.2
PhpPhp4.2.3
PhpPhp4.3.0
PhpPhp4.3.1
PhpPhp4.3.2
PhpPhp4.3.3
PhpPhp4.3.4
PhpPhp4.3.5
PhpPhp4.3.6
PhpPhp4.3.7
PhpPhp4.3.8
PhpPhp4.3.9
PhpPhp4.3.10
PhpPhp4.3.11

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2007-2727?
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.
How severe is CVE-2007-2727?
Severity scoring for CVE-2007-2727 is pending analysis. The EPSS model estimates a 1.86% probability of exploitation in the next 30 days.
How do I fix CVE-2007-2727?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2007-2727?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST