CVE-2010-1128: PHP

Medium severity, CVSS 6.4. EPSS: 8.1% chance of exploitation in the next 30 days.

The Linear Congruential Generator (LCG) in PHP before 5.2.13 does not provide the expected entropy, which makes it easier for context-dependent attackers to guess values that were intended to be unpredictable, as demonstrated by session cookies generated by using the uniqid function.

Affected products

  • PHP PHP: up to and including 5.2.12; version 5.2.0 only; version 5.2.1 only; version 5.2.2 only; version 5.2.3 only; version 5.2.4 only; …

Published 2010-03-26. Last modified 2026-06-16.