SB2018103059 - Multiple vulnerabilities in PHP



SB2018103059 - Multiple vulnerabilities in PHP

Published: October 30, 2018 Updated: June 8, 2025

Security Bulletin ID SB2018103059
Severity
High
Patch available
YES
Number of vulnerabilities 7
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 7 secuirty vulnerabilities.


1) Buffer overflow (CVE-ID: CVE-2016-4543)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The exif_process_IFD_in_JPEG function in ext/exif/exif.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 does not validate IFD sizes, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via crafted header data.


2) Buffer overflow (CVE-ID: CVE-2016-4542)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The exif_process_IFD_TAG function in ext/exif/exif.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 does not properly construct spprintf arguments, which allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via crafted header data.


3) Input validation error (CVE-ID: CVE-2016-4541)

The vulnerability allows remote attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a negative offset.


4) Input validation error (CVE-ID: CVE-2016-4540)

The vulnerability allows remote attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a negative offset.


5) Buffer overflow (CVE-ID: CVE-2016-4539)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The xml_parse_into_struct function in ext/xml/xml.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 allows remote attackers to cause a denial of service (buffer under-read and segmentation fault) or possibly have unspecified other impact via crafted XML data in the second argument, leading to a parser level of zero.


6) Input validation error (CVE-ID: CVE-2016-4538)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The bcpowmod function in ext/bcmath/bcmath.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 modifies certain data structures without considering whether they are copies of the _zero_, _one_, or _two_ global variable, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call.


7) Input validation error (CVE-ID: CVE-2016-4537)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The bcpowmod function in ext/bcmath/bcmath.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 accepts a negative integer for the scale argument, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call.


Remediation

Install update from vendor's website.