Back to CVE catalog
CVE-2015-7804

Off-by-one error in phar_parse_zipfile in PHP

Multiple products

At a glance

Off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14 allows remote attackers to cause a denial of service (uninitialized pointer dereference and application crash) by including the / filename in a .zip PHAR archive.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

6.8Medium
Published:
Updated:
EPSS:
8.46%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
≤ 5.5.29Show full version range for php
5.6.05.6.15.6.105.6.115.6.125.6.135.6.25.6.35.6.45.6.55.6.65.6.75.6.85.6.9
Vendor:Applemac os xAffected versions:
≤ 10.11.1
Vendor:redhatphp
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-bcmath
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-bcmath
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-cli
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-cli
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-common
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-common
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-dba
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-dba
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-embedded
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-embedded
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-enchant
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-enchant
  • Other versions are affected by default; consult the source for exceptions.

1–10 of 157 · Page 1 of 16

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P
alas · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P
Red Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories21

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences