CVE-2019-6339
publishedPHAR stream wrapper Arbitrary PHP code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Drupal | — | Drupal core7.x to < 7.62 · 8.6.x to < 8.6.6. · 8.5.x to < 8.5.9 | Affected | Not stated | drupal |
| Debian | jessie | drupal7 | Advisory build | 7.32-1+deb8u14 | DLA-1659-1 |
| Debian | stretch | drupal7 | Advisory build | 7.52-2+deb9u6 | DSA-4370-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Drupal | Drupal core | 7.x to < 7.62 (affected · custom)8.6.x to < 8.6.6. (affected · custom)8.5.x to < 8.5.9 (affected · custom) | drupal · cna |
Weaknesses
1- Remote Code Execution
References
3- [debian-lts-announce] 20190202 [SECURITY] [DLA 1659-1] drupal7 security update https://lists.debian.org/debian-lts-announce/2019/02/msg00004.html
- DSA-4370 https://www.debian.org/security/2019/dsa-4370
- https://www.drupal.org/sa-core-2019-002
Provider assertions
2drupal · cna
PHAR stream wrapper Arbitrary PHP code execution
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 85a3ae2d2a54c278a00979391378515a1397b82a00f14db0ecc052384994b861
- Ingested
- 23 Sep 2026, 07:47:25 UTC
- Source record
- Official CVE record