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…

published May 16, 2007

CVSS
—
EPSS
2%
Percentile
79.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01896 · 79.3th percentile
Published
2007-05-16T22:00Z
EPSS history
Timeline
  • 16 MAY 22:00Z
    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…
    cvelistv5