# CVE-2019-6339: PHAR stream wrapper Arbitrary PHP code execution

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 36% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2019-01-22 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2019-6339, DLA-1659-1
- Record: https://cvemate.com/vulnerability/CVE-2019-6339 · JSON: https://cvemate.com/vulnerability/CVE-2019-6339/json

## Description

```text
In Drupal Core versions 7.x prior to 7.62, 8.6.x prior to 8.6.6 and 8.5.x prior to 8.5.9; A remote code execution vulnerability exists in PHP's built-in phar stream wrapper when performing file operations on an untrusted phar:// URI. Some Drupal code (core, contrib, and custom) may be performing file operations on insufficiently validated user input, thereby being exposed to this vulnerability. This vulnerability is mitigated by the fact that such code paths typically require access to an administrative permission or an atypical configuration.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 35.95%, percentile 98.512%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian drupal7 (Debian): \< 7.32-1+deb8u14
- ubuntu drupal7 (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 8.0 \| 9.0
- drupal drupal: ≥ 7.0, \< 7.62 \| ≥ 8.5.0, \< 8.5.9 \| ≥ 8.6.0, \< 8.6.6
- drupal drupal core: ≥ 7.x, \< 7.62 \| ≥ 8.6.x, \< 8.6.6. \| ≥ 8.5.x, \< 8.5.9

## References

- <https://www.debian.org/security/2019/dsa-4370>
- <https://www.drupal.org/sa-core-2019-002>
- <https://lists.debian.org/debian-lts-announce/2019/02/msg00004.html>
- <https://ubuntu.com/security/CVE-2019-6339>
- <https://www.cve.org/CVERecord?id=CVE-2019-6339>

---

Data as of 2026-12-05T08:59:25.761Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
