CVE-2015-3307: The phar_parse_metadata function in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote…
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 6.6% (FIRST EPSS); higher than 93.9% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: php5 (Debian:6.0) 5.3.3.1-7+squeeze27; php5 (Debian:7) 5.4.41-0+deb7u1; php5 (Debian:8) 5.6.9+dfsg-0+deb8u1.
Low priority for now. Upgrade to php5 (Debian:6.0) 5.3.3.1-7+squeeze27; php5 (Debian:7) 5.4.41-0+deb7u1; php5 (Debian:8) 5.6.9+dfsg-0+deb8u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The phar_parse_metadata function in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote attackers to cause a denial of service (heap metadata corruption) or possibly have unspecified other impact via a crafted tar archive.
- Published
- Jun 9, 2015
- Updated
- Jun 16, 2026
- EPSS
- 6.6% · 93th percentile
- CWE
- CWE-119
Report tools
Action score
32
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux hpc node | cpe:2.3:o:redhat:enterprise_linux_hpc_node |
| redhat | enterprise linux hpc node eus | cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php phpup to 5.4.39 inclusive
- php php5.5.0
- php php5.5.1
- php php5.5.10
- php php5.5.11
- php php5.5.12
- php php5.5.13
- php php5.5.14
+12 more rows
- php php5.5.18
- php php5.5.19
- php php5.5.2
- php php5.5.20
- php php5.5.21
- php php5.5.22
- php php5.5.23
- php php5.5.3
- php php5.5.4
- php php5.5.5
- php php5.5.6
- php php5.5.7
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:6.0 | php5 | before 5.3.3.1-7+squeeze27 | 5.3.3.1-7+squeeze27 |
| Debian:7 | php5 | before 5.4.41-0+deb7u1 | 5.4.41-0+deb7u1 |
| Debian:8 | php5 | before 5.6.9+dfsg-0+deb8u1 | 5.6.9+dfsg-0+deb8u1 |
| Red Hat:enterprise_linux:6::client | php | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-bcmath | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-cli | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-common | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-dba | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-debuginfo | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-devel | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-embedded | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-enchant | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-fpm | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-gd | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-imap | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-intl | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-ldap | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-mbstring | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-mysql | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-odbc | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-pdo | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-pgsql | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-process | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
| Red Hat:enterprise_linux:6::client | php-pspell | before 0:5.3.3-46.el6_6 | 0:5.3.3-46.el6_6 |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2015-2787Mar 30, 2015 · Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.39, 5.5.x before 5.5.34Monitor
- ← EarlierCVE-2015-2783Jun 9, 2015 · ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote attackers to obtain sensitive information…26Monitor
- Later →CVE-2015-3329Jun 9, 2015 · Multiple stack-based buffer overflows in the phar_set_inode function in phar_internal.h in PHP before 5.4.40, 5.5.x before 5.5.24, and…41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:php5 | 5.3.3.1-7+squeeze27 · Debian:6.0 | Package registry (OSV) |
| red hat:php54 | 0:2.0-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-bcmath | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-cli | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-common | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-dba | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-debuginfo | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-devel | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-enchant | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-fpm | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-gd | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:php54-php-imap | 0:5.4.40-1.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- rhn.redhat.com/errata/RHSA-2015-1066.html
- rhn.redhat.com/errata/RHSA-2015-1135.html
- rhn.redhat.com/errata/RHSA-2015-1186.html
- rhn.redhat.com/errata/RHSA-2015-1187.html
- rhn.redhat.com/errata/RHSA-2015-1218.html
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.securityfocus.com/bid/74703
- bugs.php.net/bug.php?id=69443
- support.apple.com/kb/HT205031
Vendor advisories and official records. Exploit/PoC links are deliberately left out.