Home / Getcomposer / Composer / CVE-2015-8371
CVE-2015-8371: is it exploited, and which versions of Getcomposer Composer are affected and fixed?
CVE-2015-8371 is a data authenticity not verified vulnerability in Getcomposer Composer. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: composer/composer before 1.0.0 (GitHub advisory GHSA-725m-w832-q973). Fixed in 1.0.0 (GitHub advisory GHSA-725m-w832-q973). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2015-8371?
Composer before 2016-02-10 allows cache poisoning from other projects built on the same host. This results in attacker-controlled code entering a server-side build process. The issue occurs because of the way that dist packages are cached. The cache key is derived from the package name, the dist type, and certain other data from the package repository (which may simply be a commit hash, and thus can be found by an attacker). Versions through 1.0.0-alpha11 are affected, and 1.0.0 is unaffected.
From the CVE record by mitre, last updated September 25, 2024, 13:30 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | composer/composer | < 1.0.0 | 1.0.0 | GHSA-725m-w832-q973 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 29, 2023. Summary: Composer allows cache poisoning from other projects built on the same host.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| getcomposer | composer | 1.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:34 UTC.
How severe is CVE-2015-8371?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-8371 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, September 25, 2024)
- EPSS
- 0.72% probability of exploitation activity in the next 30 days, percentile 55.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-345 Insufficient Verification of Data Authenticity
Where are the vendor advisories and references?
- https://flyingmana.de/blog_en/2016/02/14/composer_cache_injection_vulnerability_cve_2015_8371.html
- https://github.com/FriendsOfPHP/security-advisories/blob/e26be423c5bcfdb38478d2f92d1f928c15afb561/composer/composer/CVE-2015-8371.yaml
- https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/composer/composer/CVE-2015-8371.yml
- https://github.com/composer/composer
When was it published, and where is the official record?
- Reserved
- November 27, 2015
- Published
- September 21, 2023, 00:00 UTC
- CVE record updated
- September 25, 2024, 13:30 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:34 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2015-8371
Is CVE-2015-8371 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.72% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Getcomposer Composer are affected by CVE-2015-8371?
composer/composer before 1.0.0, per the GitHub advisory GHSA-725m-w832-q973. The tables above give every range the sources list.
Which version fixes CVE-2015-8371?
1.0.0, per the GitHub advisory GHSA-725m-w832-q973. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-8371?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-8371?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.