CVE-2007-2727: PHP
Low severity, CVSS 2.6. EPSS: 1.9% chance of exploitation in the next 30 days.
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.
Affected products
- PHP PHP: from 4.4.0, before 4.4.7 (fixed in 4.4.7); from 5.0.0, before 5.2.2 (fixed in 5.2.2); version 4.0.1 only; version 4.0.2 only; version 4.0.3 only; version 4.0.4 only; …
Published 2007-05-16. Last modified 2026-06-16.