Buffer overflow in PHP - CVE-2010-2191

 

Buffer overflow in PHP - CVE-2010-2191

Published: August 17, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110294
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-2191
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2010-2191

Install update from vendor's website.

PHP - addressed in versions 5.2.14, 5.3.3
dev-lang/php - update to 5.3.8

External References

Related Security Bulletins