SecurityContext

CVE-2016-4542: PHP - Out-of-Bounds Read

  • Cve: CVE-2016-4542
  • Name: PHP - Out-of-Bounds Read
  • Description: 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.
  • Impact: Remote attackers can cause denial of service through out-of-bounds read, potentially leading to application crash or other unspecified impacts.
  • Remediation: Update PHP to version 5.5.35, 5.6.21, 7.0.6 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.06063
  • Epss percentile: 0.93563
  • Assignee: [email protected]
  • Published at: 2016-05-22T01:59:27Z
  • Age in days: 3838
  • Modified at: 2026-06-17T00:47:45Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 15
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-4542
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
https://bugs.php.net/bug.php?id=72094nvd2016-05-22

References

Same in every row:

  • Source: nvd
UrlTags
http://php.net/ChangeLog-5.phpPatch
http://php.net/ChangeLog-7.phpPatch
https://bugs.php.net/bug.php?id=72094Exploit
http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183736.html
http://lists.opensuse.org/opensuse-updates/2016-05/msg00086.html
http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://www.debian.org/security/2016/dsa-3602
http://www.openwall.com/lists/oss-security/2016/05/05/21
http://www.securityfocus.com/bid/89844

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
php:php= 7.0.5, = 7.0.4, = 7.0.3, = 7.0.2, = 7.0.1, = 7.0.0, = 5.6.20, = 5.6.19, = 5.6.18, = 5.6.17, = 5.6.16, = 5.6.15, = 5.6.14, = 5.6.13, = 5.6.12, = 5.6.11, = 5.6.10, = 5.6.9, = 5.6.8, = 5.6.7, = 5.6.6, = 5.6.5, = 5.6.4, = 5.6.3, = 5.6.2, = 5.6.1, = 5.6.0, <= 5.5.34/v1/products/php/php
fedoraproject:fedora= 24/v1/products/fedoraproject/fedora
opensuse:leap= 42.1/v1/products/opensuse/leap

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2016-05-22
  • Remote: yes
  • Exposed hosts: 6175026
  • 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