Vulnerability in Php

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.

EPSS: 0.019 (77.1th percentile) — read the EPSS interpretation.

Affected products

  • Php — versions 4.0.1, 4.0.2, 4.0.3
  • N/a — versions n/a

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2007-2727?
CVE-2007-2727 is a vulnerability in Php. Published 2007-05-16.
Is CVE-2007-2727 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.