CVE-2011-0755

php: mt_rand() does not check that max is greater than min

Published Feb 2, 2011 CVSS 2.0 · 5.0 Medium EPSS 1.9% KEV · Not listed
Description
Integer overflow in the mt_rand function in PHP before 5.3.4 might make it easier for context-dependent attackers to predict the return values by leveraging a script's use of a large max parameter, as demonstrated by a value that exceeds mt_getrandmax.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2011-0767 Integer overflow in the mt_rand function in PHP before 5.3.4 might make it easier for context-dependent attackers to predict the return values by leveraging a script's use of a large max parameter, as demonstrated by a value that exceeds mt_getrandmax.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 10:05 PM
Reserved
Feb 2, 2011, 12:00 AM
Status
Modified
Published
Feb 2, 2011, 10:00 PM
Modified
Jun 16, 2026, 11:28 PM
Severity
Public date
Nov 17, 2008, 12:00 AM