CVEvulnerability
CVE-2007-1884
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2007-04-06
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Description
Multiple integer signedness errors in the printf function family in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 on 64 bit machines allow context-dependent attackers to execute arbitrary code via (1) certain negative argument numbers that arise in the php_formatted_print function because of 64 to 32 bit truncation, and bypass a check for the maximum allowable value; and (2) a width and precision of -1, which make it possible for the php_sprintf_appendstring function to place an internal buffer at an arbitrary memory location.
Affected configurations
• php php 4.0
• php php 4.0.0
• php php 4.0.1
• php php 4.0.2
• php php 4.0.3
• php php 4.0.4
• php php 4.0.5
• php php 4.0.6
• php php 4.0.7
• php php 4.1.0
• php php 4.1.1
• php php 4.1.2
• php php 4.2
• php php 4.2.0
• php php 4.2.1
• php php 4.2.2
• php php 4.2.3
• php php 4.3.0
• php php 4.3.1
• php php 4.3.2
• php php 4.3.3
• php php 4.3.4
• php php 4.3.5
• php php 4.3.6
• php php 4.3.7
• php php 4.3.8
• php php 4.3.9
• php php 4.3.10
• php php 4.3.11
• php php 4.4.0
• php php 4.4.1
• php php 4.4.2
• php php 4.4.3
• php php 4.4.4
• php php 5.0
• php php 5.0.0
• php php 5.0.1
• php php 5.0.2
• php php 5.0.3
• php php 5.0.4
• php php 5.0.5
• php php 5.1.0
• php php 5.1.1
• php php 5.1.2
• php php 5.1.3
• php php 5.1.4
• php php 5.1.5
• php php 5.1.6
• php php 5.2.0
References
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 h20000.www2.hp.com
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 h20000.www2.hp.com
- http://secunia.com/advisories/25423 secunia.com
- http://secunia.com/advisories/25850 secunia.com
- http://www.osvdb.org/33955 www.osvdb.org
- http://www.osvdb.org/34767 www.osvdb.org
- http://www.php-security.org/MOPB/MOPB-38-2007.html Vendor Advisory
- http://www.php.net/releases/5_2_1.php Patch
- http://www.securityfocus.com/bid/23219 www.securityfocus.com
- http://www.vupen.com/english/advisories/2007/1991 www.vupen.com
- http://www.vupen.com/english/advisories/2007/2374 www.vupen.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33755 exchange.xforce.ibmcloud.com
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 h20000.www2.hp.com
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 h20000.www2.hp.com
- http://secunia.com/advisories/25423 secunia.com
- http://secunia.com/advisories/25850 secunia.com
- http://www.osvdb.org/33955 www.osvdb.org
- http://www.osvdb.org/34767 www.osvdb.org
- http://www.php-security.org/MOPB/MOPB-38-2007.html Vendor Advisory
- http://www.php.net/releases/5_2_1.php Patch
- http://www.securityfocus.com/bid/23219 www.securityfocus.com
- http://www.vupen.com/english/advisories/2007/1991 www.vupen.com
- http://www.vupen.com/english/advisories/2007/2374 www.vupen.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33755 exchange.xforce.ibmcloud.com