Servers and applications
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.
- Severity
- Low 2.6
- Published
- 16 May 2007
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 14 Oct 2026
- Fixed in
- 4.4.7, 5.2.2
- Exploit chance
- 1.9% in the next 30 daysHigher than 79% of CVEs. EPSS by FIRST, 12 Nov 2026
- Attack
- Over the network · Only under certain conditions · No login needed
- Attacker can
- Read some data
- CVSS vector
AV:N/AC:H/Au:N/C:P/I:N/A:N- Sources
- NVD
Affected software
| Software | Affected versions |
|---|---|
PHPServers and applications · cpe:a:php:php |
All 34 release lines
|