Skip to content
OpenAdvisories
Unscored CVE-2007-2727 EUVD-2007-2719GHSA-4j4f-jw3x-9gm3

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_ran…

Published May 16, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

References