SecurityContext

CVE-2009-5016: PHP - Integer Overflow

  • Cve: CVE-2009-5016
  • Name: PHP - Integer Overflow
  • Description: Integer overflow in the xml_utf8_decode function in ext/xml/xml.c in PHP before 5.2.11 makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string that uses overlong UTF-8 encoding, a different vulnerability than CVE-2010-3870.
  • Impact: Attackers can bypass XSS and SQL injection protections, potentially leading to security breaches and data compromise.
  • Remediation: Update PHP to version 5.2.11 or later.
  • Vulnerability type: integer_overflow
  • Requirement type: user_interaction
  • Requirements: Attacker needs to send crafted overlong UTF-8 strings
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Epss score: 0.02652
  • Epss percentile: 0.86031
  • Assignee: [email protected]
  • Published at: 2010-11-12T22:00:01Z
  • Age in days: 5856
  • Modified at: 2026-06-16T23:14:49Z
  • Public exploits total: 3
  • References total: 15
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2009-5016
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-189—

Public exploits

Same in every row:

  • Source: nvd
  • Added date: 2010-11-12
Url
http://bugs.php.net/bug.php?id=49687
http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html
http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf

References

Same in every row:

  • Source: nvd
UrlTags
http://bugs.php.net/bug.php?id=49687Exploit
http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.htmlExploit
http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdfExploit
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html
http://secunia.com/advisories/42410
http://secunia.com/advisories/42812
http://www.redhat.com/support/errata/RHSA-2010-0919.html
http://www.redhat.com/support/errata/RHSA-2011-0195.html
http://www.securityfocus.com/bid/44889

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 2.0b10, <= 5.2.10, = 5.2.1, = 5.2.0, = 5.1.6, = 5.1.5, = 5.1.4, = 5.1.3, = 5.1.2, = 5.1.1, = 5.1.0, = 5.0.5, = 5.0.4, = 5.0.3, = 5.0.2, = 5.0.1, = 5.0.0, = 5.0.0 beta1, = 5.0.0 beta2, = 5.0.0 beta3, = 5.0.0 beta4, = 5.0.0 rc1, = 5.0.0 rc2, = 5.0.0 rc3, = 4.4.9, = 4.4.8, = 4.4.7, = 4.4.6, = 4.4.5, = 4.4.4, = 4.4.3, = 4.4.2, = 4.4.1, = 4.4.0, = 4.3.11, = 4.3.10, = 4.3.9, = 4.3.8, = 4.3.7, = 4.3.6, = 4.3.5, = 4.3.4, = 4.3.3, = 4.3.2, = 4.3.1, = 4.3.0, = 4.2.3, = 4.2.2, = 4.2.1, = 4.2.0, = 4.1.2, = 4.1.1, = 4.1.0, = 4.0.7, = 4.0.6, = 4.0.5, = 4.0.4, = 4.0.3, = 4.0.2, = 4.0.1, = 4.0.0, = 4.0, = 4.0 beta1, = 4.0 beta2, = 4.0 beta3, = 4.0 beta4, = 4.0 beta_4_patch1, = 3.0.18, = 3.0.17, = 3.0.16, = 3.0.15, = 3.0.14, = 3.0.13, = 3.0.12, = 3.0.11, = 3.0.10, = 3.0.9, = 3.0.8, = 3.0.7, = 3.0.6, = 3.0.5, = 3.0.4, = 3.0.3, = 3.0.2, = 3.0.1, = 3.0, = 2.0, = 1.0nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2010-11-12
  • Remote: yes
  • Exposed hosts: 6200906
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports