Buffer overflow in PHP - CVE-2007-1864
Published: May 22, 2019 / Updated: June 8, 2025
Vulnerability identifier: #VU110401
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:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-1864
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.
Buffer overflow in the bundled libxmlrpc library in PHP before 4.4.7, and 5.x before 5.2.2, has unknown impact and remote attack vectors.
Affected software
PHP
Gentoo Linux
Debian Linux
Ubuntu
php5-xmlrpc (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
php5 (Debian package)
php4 (Debian package)
dev-lang/php
Gentoo Linux
Debian Linux
Ubuntu
php5-xmlrpc (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
php5 (Debian package)
php4 (Debian package)
dev-lang/php
How to mitigate CVE-2007-1864
Install update from vendor's website.
PHP - update to 5.2.2
php5-xmlrpc (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.9, 5.1.6-1ubuntu2.6, 5.2.1-0ubuntu1.4
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.9, 5.1.6-1ubuntu2.6, 5.2.1-0ubuntu1.4
php5 (Debian package) - update to 5.2.0-8+etch7
php4 (Debian package) - addressed in versions 4:4.3.10-22, 6:4.4.4-8+etch4
dev-lang/php - update to 5.2.2
php5-xmlrpc (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.9, 5.1.6-1ubuntu2.6, 5.2.1-0ubuntu1.4
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.9, 5.1.6-1ubuntu2.6, 5.2.1-0ubuntu1.4
php5 (Debian package) - update to 5.2.0-8+etch7
php4 (Debian package) - addressed in versions 4:4.3.10-22, 6:4.4.4-8+etch4
dev-lang/php - update to 5.2.2
External References
- http://lists.opensuse.org/opensuse-security-announce/2007-07/msg00006.html
- http://osvdb.org/34674
- http://secunia.com/advisories/25187
- http://secunia.com/advisories/25191
- http://secunia.com/advisories/25255
- http://secunia.com/advisories/25445
- http://secunia.com/advisories/25660
- http://secunia.com/advisories/25938
- http://secunia.com/advisories/25945
- http://secunia.com/advisories/26048
- http://secunia.com/advisories/26102
- http://secunia.com/advisories/27377
- http://security.gentoo.org/glsa/glsa-200705-19.xml
- http://support.avaya.com/elmodocs2/security/ASA-2007-231.htm
- http://us2.php.net/releases/4_4_7.php
- http://us2.php.net/releases/5_2_2.php
- http://www.debian.org/security/2007/dsa-1330
- http://www.debian.org/security/2007/dsa-1331
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:102
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:103
- http://www.redhat.com/support/errata/RHSA-2007-0349.html
- http://www.redhat.com/support/errata/RHSA-2007-0355.html
- http://www.securityfocus.com/bid/23813
- http://www.securitytracker.com/id?1018024
- http://www.trustix.org/errata/2007/0017/
- http://www.ubuntu.com/usn/usn-485-1
- http://www.vupen.com/english/advisories/2007/2187
- https://issues.rpath.com/browse/RPL-1693
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11257
- https://rhn.redhat.com/errata/RHSA-2007-0348.html