7.5
CWE
119 NVD-CWE-Other
Advisory Published
Updated

CVE-2006-5465: Buffer Overflow

First published: Sat Nov 04 2006(Updated: )

Buffer 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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
PHP=5.1.5
PHP=5.1.2
PHP=5.1.1
PHP=5.0-rc1
PHP=5.0.5
PHP=5.0.1
PHP=5.1.4
PHP=5.0.4
PHP<=5.1.6
PHP=5.0-rc3
PHP=5.0.3
PHP=5.1.0
PHP=5.0-rc2
PHP=5.1.3
PHP=5.0.2
PHP=5.0.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2006-5465?

    CVE-2006-5465 has a critical severity level as it may allow remote attackers to execute arbitrary code.

  • How do I fix CVE-2006-5465?

    To fix CVE-2006-5465, upgrade to PHP version 5.2.0 or later.

  • Which versions of PHP are affected by CVE-2006-5465?

    CVE-2006-5465 affects PHP versions prior to 5.2.0, including 5.1.x and 5.0.x.

  • What types of attacks can exploit CVE-2006-5465?

    CVE-2006-5465 can be exploited through crafted UTF-8 inputs targeting the htmlentities or htmlspecialchars functions.

  • What should I do if I cannot upgrade PHP to fix CVE-2006-5465?

    If upgrading is not possible, consider applying security patches or implementing input validation to mitigate the risk of CVE-2006-5465.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203