ID CVE-2016-4344
Summary Integer overflow in the xml_utf8_encode function in ext/xml/xml.c in PHP before 7.0.4 allows remote attackers to cause a denial of service or possibly have unspecified other impact via a long argument to the utf8_encode function, leading to a heap-based buffer overflow.
References
Vulnerable Configurations
  • cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:alpha1:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:alpha2:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc5:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc6:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc6:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc7:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc7:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.0:rc8:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.0:rc8:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.1:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.1:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.1:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.1:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.2:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.2:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.2:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.2:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.3:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.3:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:7.0.3:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:7.0.3:rc1:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 20-07-2022 - 16:56)
Impact:
Exploitability:
CWE CWE-190
CAPEC
  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
refmap via4
confirm
mlist [oss-security] 20160428 [CVE Requests] PHP issues
Last major update 20-07-2022 - 16:56
Published 22-05-2016 - 01:59
Last modified 20-07-2022 - 16:56
Back to Top