CVE-2007-2727

N/A Unknown
Published: May 16, 2007 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://bugs.php.net/bug.php?id=40999
Source: cve@mitre.org
Vendor Advisory
http://osvdb.org/36087
Source: cve@mitre.org
Broken Link
http://secunia.com/advisories/26895
Source: cve@mitre.org
Broken Link
http://www.fortheloot.com/public/mcrypt.patch
Source: cve@mitre.org
Exploit Patch Third Party Advisory
http://www.php.net/ChangeLog-5.php
Source: cve@mitre.org
Vendor Advisory
http://www.securityfocus.com/bid/23984
Source: cve@mitre.org
Third Party Advisory VDB Entry
http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://bugs.php.net/bug.php?id=40999
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://osvdb.org/36087
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://secunia.com/advisories/26895
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://www.fortheloot.com/public/mcrypt.patch
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Patch Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link
http://www.novell.com/linux/security/advisories/2007_15_sr.html
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.php.net/ChangeLog-5.php
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
http://www.securityfocus.com/bid/23984
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry

20 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
0.5%
65th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

php