{"id":"CVE-2007-2727","aliases":["EUVD-2007-2719","GHSA-4j4f-jw3x-9gm3"],"status":"published","title":"The mcrypt_create_iv function in ext/mcrypt/mcrypt.c in PHP before 4.4.7, 5.2.1, and possibly 5.0...","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.","severity":{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01896,"percentile":0.79775,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2007-05-16T22:00:00Z","modified":"2026-06-16T22:40:11Z","products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.securityfocus.com/bid/23984","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.fortheloot.com/public/mcrypt.patch","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory"]},{"url":"http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9\u0026r2=1.91.2.3.2.10","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://bugs.php.net/bug.php?id=40999","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","Broken Link"]},{"url":"http://secunia.com/advisories/26895","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link"]},{"url":"http://www.novell.com/linux/security/advisories/2007_15_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory"]},{"url":"http://osvdb.org/36087","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2727"},{"url":"https://github.com/advisories/GHSA-4j4f-jw3x-9gm3"}],"sources":{"cve":[{"id":"CVE-2007-2727","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.","status":"published","published":"2007-05-16T22:00:00Z","modified":"2024-08-07T13:49:57.26Z","updated_at":"2026-11-02T13:32:23.14582Z"}],"euvd":[{"id":"EUVD-2007-2719","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.","status":"published","published":"2007-05-16T22:00:00Z","modified":"2024-08-07T13:49:57Z","updated_at":"2026-11-03T01:38:20.04441Z"}],"ghsa":[{"id":"GHSA-4j4f-jw3x-9gm3","title":"The mcrypt_create_iv function in ext/mcrypt/mcrypt.c in PHP before 4.4.7, 5.2.1, and possibly 5.0...","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.","status":"published","published":"2022-05-01T18:06:33Z","modified":"2023-01-31T05:04:18Z","updated_at":"2026-11-02T14:48:38.60643Z"}],"nvd":[{"id":"CVE-2007-2727","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.","status":"published","published":"2007-05-16T22:30:00Z","modified":"2026-06-16T22:40:11.91Z","cvss":[{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:01:16.479378Z"}]}}
