Security mailing lists by PureSourceCode

CVE-2007-2727

LOW 2.6CVSS 2.0

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.

Published
16 May 2007
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.6 AV:N/AC:H/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 4.4.0, < 4.4.7 4.4.7
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.2.2 5.2.2
NVD php php
cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*
= 4.0.1
NVD php php
cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*
= 4.0.1
NVD php php
cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*
= 4.0.1
NVD php php
cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*
= 4.0.2
NVD php php
cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:*
= 4.0.3
NVD php php
cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*
= 4.0.3
NVD php php
cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*
= 4.0.4
NVD php php
cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*
= 4.0.5
NVD php php
cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*
= 4.0.6
NVD php php
cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*
= 4.0.7
NVD php php
cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*
= 4.0.7
NVD php php
cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*
= 4.0.7
NVD php php
cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*
= 4.0.7
NVD php php
cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*
= 4.1.0
NVD php php
cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*
= 4.1.1
NVD php php
cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*
= 4.1.2
NVD php php
cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*
= 4.2.0
NVD php php
cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*
= 4.2.1
NVD php php
cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*
= 4.2.2
NVD php php
cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*
= 4.2.3
NVD php php
cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
= 4.3.0
NVD php php
cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*
= 4.3.1
NVD php php
cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*
= 4.3.2
NVD php php
cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*
= 4.3.3
NVD php php
cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*
= 4.3.4
NVD php php
cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*
= 4.3.5
NVD php php
cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*
= 4.3.6
NVD php php
cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*
= 4.3.7
NVD php php
cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*
= 4.3.8
NVD php php
cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*
= 4.3.9
NVD php php
cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*
= 4.3.10
NVD php php
cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*
= 4.3.11

References

History

  • 25 Nov 2026 20:13 UTC · NVD: first stored (published 16 May 2007)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.