CVE-2007-2727

CVE-2007-2727 is a low-severity vulnerability in Php with a CVSS 2.0 base score of 2.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is 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 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.
How severe is CVE-2007-2727?
CVE-2007-2727 has a CVSS 2.0 base score of 2.6, rated low severity.
Is CVE-2007-2727 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (77th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-2727?
CVE-2007-2727 primarily affects Php. In total, 33 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2007-2727?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-2727 published?
CVE-2007-2727 was published on 2007-05-16 and last updated on 2026-06-16.

References

Affected products (33)

More vulnerabilities in Php

All CVEs affecting Php →

Threat intelligence

Threat-intel indicators referencing this CVE: