Back

HIGH

php integer overflow in strspn/strcspn

Published Sep 4, 2007

Description

Multiple integer overflows in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to obtain sensitive information (memory contents) or cause a denial of service (thread crash) via a large len value to the (1) strspn or (2) strcspn function, which triggers an out-of-bounds read. NOTE: this affects different product versions than CVE-2007-3996.

Affected products

Remediation

Red Hat statement

The only effect of this bug is to cause the process to read from a random segment of memory, if a large "length" parameter is passed to the strspn/strcspn function, which is under the control of the script author. This bug has no security impact.

Metrics

References (33)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Sep 4, 2007
Updated Aug 7, 2024
Reserved Sep 4, 2007
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity n/a
Public date n/a