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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-07T13:49:57.260Z

Reserved: 2007-05-16T00:00:00

Link: CVE-2007-2727

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2007-05-16T22:30:00.000

Modified: 2025-04-09T00:30:58.490

Link: CVE-2007-2727

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.