CVE-2007-2727

N/A
Published: May 16, 2007 at 10:00 PM UTC
Updated: June 16, 2026 at 10:40 PM UTC
1 product affected across 1 vendorPHP

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
Affected range stops below 4.4.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.2.2, so it looks safe — our inference, not a vendor statement

References (10)

x_refsource_CONFIRMVendor Advisory
http://bugs.php.net/bug.php?id=40999
VDB Entryx_refsource_OSVDBBroken Link
http://osvdb.org/36087
Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/26895
x_refsource_MISCExploitPatchThird Party Advisory
http://www.fortheloot.com/public/mcrypt.patch
Vendor Advisoryx_refsource_MANDRIVABroken Link
http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
Vendor Advisoryx_refsource_SUSEThird Party Advisory
http://www.novell.com/linux/security/advisories/2007_15_sr.html

CVSS

Confidentiality
PARTIAL
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card