Buffer overflow in PHP
CVE-2010-2191
The (1) parse_str, (2) preg_match, (3) unpack, and (4) pack functions; the (5) ZEND_FETCH_RW, (6) ZEND_CONCAT, and (7) ZEND_ASSIGN_CONCAT opcodes; and the (8) ArrayObject::uasort method in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to obtain sensitive information (memory contents) or trigger memory corruption by causing a userspace interruption of an internal function or handler. NOTE: vectors 2 through 4 are related to the call time pass by reference feature.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.024, 84.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.2.0, 5.2.12, 5.2.10
Weakness classification (CWE)
References
- www.php-security.org/2010/05/31/mops-2010-051-php-unpack-interruption-informati… (Exploit)
- www.php-security.org/2010/05/31/mops-2010-052-php-pack-interruption-information… (Exploit)
- HPSBOV02763 (vendor-advisory)
- www.php-security.org/2010/05/31/mops-2010-053-php-zend_fetch_rw-opcode-interrup… (Exploit)
- php-parsestr-info-disclosure(59221) (vdb-entry)
- www.php-security.org/2010/05/31/mops-2010-049-php-parse_str-interruption-memory… (Exploit)
- SUSE-SR:2010:017 (vendor-advisory)
- www.php-security.org/2010/05/31/mops-2010-050-php-preg_match-interruption-infor… (Exploit)
- www.php-security.org/2010/05/31/mops-2010-055-php-arrayobjectuasort-interruptio… (Exploit)
- SUSE-SR:2010:018 (vendor-advisory)