SecurityContext

CVE-2015-8865: PHP - Buffer Overflow

  • Cve: CVE-2015-8865
  • Name: PHP - Buffer Overflow
  • Description: The file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo component in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5, mishandles continuation-level jumps, which allows context-dependent attackers to cause a denial of service (buffer overflow and application crash) or possibly execute arbitrary code via a crafted magic file.
  • Impact: Attackers can cause application crashes or execute arbitrary code, leading to potential full system compromise.
  • Remediation: Update PHP to version 5.5.34, 5.6.20, 7.0.5 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft specific malicious files
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.05483
  • Epss percentile: 0.92968
  • Assignee: [email protected]
  • Published at: 2016-05-20T10:59:00Z
  • Age in days: 3840
  • Modified at: 2026-06-17T00:35:23Z
  • Public exploits total: 1
  • References total: 20
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-8865
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

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

Hackerone

  • Reports: 1
  • Rank: 5193

Public exploits

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

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.php.net/bug.php?id=71527Exploit
http://bugs.gw.com/view.php?id=522
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=fe13566c93f118a15a96320a546c7878fd0cfc5e
http://lists.apple.com/archives/security-announce/2016/May/msg00004.html
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00057.html
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://www.debian.org/security/2016/dsa-3560
http://www.openwall.com/lists/oss-security/2016/04/24/1
http://www.php.net/ChangeLog-5.php
http://www.php.net/ChangeLog-7.php

Products

ProductAffectedPlatform boundSourcesUrl
php:php= 7.0.4, = 7.0.3, = 7.0.2, = 7.0.1, = 7.0.0, = 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 alpha1, = 5.6.0 alpha2, = 5.6.0 alpha3, = 5.6.0 alpha4, = 5.6.0 alpha5, = 5.6.0 beta1, = 5.6.0 beta2, = 5.6.0 beta3, = 5.6.0 beta4, <= 5.5.33nonvd/v1/products/php/php
apple:mac_os_x<= 10.11.4nonvd/v1/products/apple/mac_os_x

Projects

RepositoryLink kindsIndexedUrl
file/filecommit, fixyes/v1/repositories/file/file

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2016-05-20
  • Authentication required: yes
  • Hackerone reports: 1
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since