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.
2007-05-16T22:30:00.000
2025-04-09T00:30:58.490
Deferred
CVSSv2: 2.6 (LOW)
AV:N/AC:H/Au:N/C:P/I:N/A:N
4.9
2.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | php | php | < 4.4.7 | Yes |
Application | php | php | < 5.2.2 | Yes |
Application | php | php | 4.0.1 | Yes |
Application | php | php | 4.0.1 | Yes |
Application | php | php | 4.0.1 | Yes |
Application | php | php | 4.0.2 | Yes |
Application | php | php | 4.0.3 | Yes |
Application | php | php | 4.0.3 | Yes |
Application | php | php | 4.0.4 | Yes |
Application | php | php | 4.0.5 | Yes |
Application | php | php | 4.0.6 | Yes |
Application | php | php | 4.0.7 | Yes |
Application | php | php | 4.0.7 | Yes |
Application | php | php | 4.0.7 | Yes |
Application | php | php | 4.0.7 | Yes |
Application | php | php | 4.1.0 | Yes |
Application | php | php | 4.1.1 | Yes |
Application | php | php | 4.1.2 | Yes |
Application | php | php | 4.2.0 | Yes |
Application | php | php | 4.2.1 | Yes |
Application | php | php | 4.2.2 | Yes |
Application | php | php | 4.2.3 | Yes |
Application | php | php | 4.3.0 | Yes |
Application | php | php | 4.3.1 | Yes |
Application | php | php | 4.3.2 | Yes |
Application | php | php | 4.3.3 | Yes |
Application | php | php | 4.3.4 | Yes |
Application | php | php | 4.3.5 | Yes |
Application | php | php | 4.3.6 | Yes |
Application | php | php | 4.3.7 | Yes |
Application | php | php | 4.3.8 | Yes |
Application | php | php | 4.3.9 | Yes |
Application | php | php | 4.3.10 | Yes |
Application | php | php | 4.3.11 | Yes |