CVE-2020-28948: PHAR Case-Bypass Unserialization in PEAR Archive_Tar
- Vendors
- PHP GroupDebian ProjectDrupalFedora Project
PEAR Archive_Tar through version 1.4.10 is vulnerable to an unserialization attack because its filtering blocks the lowercase phar: stream-wrapper prefix but does not block the uppercase PHAR: variant. This case-sensitive bypass can permit malicious archive content to reach PHP PHAR processing in affected applications.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
In Drupal deployments configured to accept and process applicable archive uploads, exploitation of the affected PEAR Archive_Tar library can result in arbitrary PHP code execution.
Mitigation
If you can’t patch tonight, do this now.
Until fixed software is deployed, prevent untrusted users from uploading tar-based archive formats that the application processes.
Remediation
Patch, then assume compromise.
Upgrade Drupal core to a fixed release: 7.75 or later in the 7.x line, 8.8.12 or later in the 8.8.x line, 8.9.10 or later in the 8.9.x line, or 9.0.9 or later in the 9.0.x line. Rocky Linux 8 systems should apply the Archive_Tar security updates addressed by CIQ advisory crlsa-2022_6542.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-28948 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2020-28948?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2020-28948.
- Is there a patch for CVE-2020-28948?
- Upgrade Drupal core to a fixed release: 7.75 or later in the 7.x line, 8.8.12 or later in the 8.8.x line, 8.9.10 or later in the 8.9.x line, or 9.0.9 or later in the 9.0.x line. Rocky Linux 8 systems should apply the Archive_Tar security updates addressed by CIQ advisory crlsa-2022_6542.
- What products are affected by CVE-2020-28948?
- PHP Group Archive Tar, Debian Project Debian Linux, Drupal, and Fedora Project Fedora.
- How severe is CVE-2020-28948?
- CVE-2020-28948 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 47.5% (99th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.