CVE-2006-5465

Summary

CVECVE-2006-5465
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2006-11-04 00:07:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionBuffer overflow in PHP before 5.2.0 allows remote attackers to execute arbitrary code via crafted UTF-8 inputs to the (1) htmlentities or (2) htmlspecialchars functions.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: NVD-CWE-Other | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 5.0 rc1 All All
Application Php Php 5.0 rc2 All All
Application Php Php 5.0 rc3 All All
Application Php Php 5.0.0 All All All
Application Php Php 5.0.1 All All All
Application Php Php 5.0.2 All All All
Application Php Php 5.0.3 All All All
Application Php Php 5.0.4 All All All
Application Php Php 5.0.5 All All All
Application Php Php 5.1.0 All All All
Application Php Php 5.1.1 All All All
Application Php Php 5.1.2 All All All
Application Php Php 5.1.3 All All All
Application Php Php 5.1.4 All All All
Application Php Php 5.1.5 All All All
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
SGI Advanced Linux Environment Multiple Updates - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-1206-1 php4 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
SecurityTracker.com Archives - Symantec NetBackup PureDisk PHP Buffer Overflow May Let Remote Users Execute Arbitrary Code af854a3a-2127-422b-91ae-364da2661108 securitytracker.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
Cisco Security Response: PHP HTML Entity Encoder Heap Overflow Vulnerability in Multiple Web-based Management Interfaces  [Products & Services] - Cisco Systems af854a3a-2127-422b-91ae-364da2661108 www.cisco.com
Cisco Products PHP "htmlentities()" and "htmlspecialchars()" Buffer Overflows - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
issues.rpath.com/browse/RPL-761 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Red Hat Stronghold update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Advisories - Mandriva Linux af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
SecurityTracker.com Archives - PHP Buffer Overflows in htmlspecialchars() and htmlentities() May Let Remote Users Execute Arbitrary Code af854a3a-2127-422b-91ae-364da2661108 securitytracker.com
Symantec NetBackup PureDisk PHP Buffer Overflow - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Red Hat update for PHP - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
APPLE-SA-2006-11-28 Security Update 2006-007 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
PHP: PHP 5.2.0 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Debian update for php4 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
PHP HTMLEntities HTMLSpecialChars Buffer Overflow Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Hardened-PHP Project - PHP Security - Advisory 13/2006 af854a3a-2127-422b-91ae-364da2661108 www.hardened-php.net
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Mac OS X Security Update Fixes Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Ubuntu update for PHP - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
OpenPKG Corporation: Security: Security Advisories af854a3a-2127-422b-91ae-364da2661108 www.openpkg.com
About the security content of Security Update 2006-007 af854a3a-2127-422b-91ae-364da2661108 docs.info.apple.com
SUSE update for php4 and php5 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
ASA-2006-245 (RHSA-2006-0730) af854a3a-2127-422b-91ae-364da2661108 support.avaya.com
Cisco - Networking, Cloud, and Cybersecurity Solutions af854a3a-2127-422b-91ae-364da2661108 www.cisco.com
Trustix Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
usn/usn-375-1 - Ubuntu: Linux for human beings af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Mandriva update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
www.trustix.org/errata/2006/0061 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org
PHP "htmlentities()" and "htmlspecialchars()" Buffer Overflows - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
US-CERT Technical Cyber Security Alert TA06-333A -- Apple Releases Security Update to Address Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.us-cert.gov US Government Resource
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
rPath update for php, php-mysql, and php-pgsql - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
patches.sgi.com/support/free/security/advisories/20061101-01-P af854a3a-2127-422b-91ae-364da2661108 patches.sgi.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
Avaya Products PHP Buffer Overflows - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
404 Not Found af854a3a-2127-422b-91ae-364da2661108 www.turbolinux.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2007-03-14Mark J CoxRed Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report