LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2020-28949: PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability

RBRecent Breaches Vulnerability Intelligence·Aug 25, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Sep 15, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2020-28949 to its Known Exploited Vulnerabilities catalog on Aug 25, 2022, with a federal patch deadline of Sep 15, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

PEAR Archive_Tar allows an unserialization attack because phar: is blocked but PHAR: is not blocked. PEAR stands for PHP Extension and Application Repository and it is an open-source framework and…

CVE-2020-28949 is a deserialization of untrusted data flaw in PEAR Archive_Tar, a PHP component used to handle tar archives. The issue allows an unserialization attack because the lowercase phar: stream wrapper is blocked while the uppercase PHAR: variant is not. PEAR (PHP Extension and Application Repository) is a widely reused open-source framework for PHP components and appears in third-party products such as Drupal Core and Red Hat Linux distributions. Teams that process untrusted archives or run PHP applications embedding Archive_Tar should treat this as a priority until they confirm their versions and configurations against the vendor advisory.

How it works

The weakness is classified as CWE-74 (improper neutralization of special elements). Archive_Tar performs checks intended to block dangerous stream wrappers such as phar:, which can lead to object injection when PHP unserializes data. Because the check is case-sensitive, an attacker who can supply a crafted archive or path that uses the PHAR: prefix can bypass the filter. Once the wrapper is accepted, PHP may deserialize attacker-controlled data, potentially resulting in arbitrary code execution or other unintended behavior inside the PHP process. Exact exploit mechanics and preconditions vary by how the library is called; defenders should rely on the vendor advisory rather than assuming a single attack path.

Am I affected? How to find it in your systems

PEAR Archive_Tar commonly appears wherever PHP applications extract or inspect tar archives—content-management systems, package managers, backup tools, and custom PHP services. It is known to be pulled in by products such as Drupal Core and packages shipped with Red Hat Linux, but any PHP codebase that depends on the Archive_Tar package is in scope.

How to remediate

Apply updates per vendor instructions, as required by CISA. Obtain the patched Archive_Tar release (or the updated product package that embeds it) from the official PEAR or downstream vendor channel and deploy it through your normal change process. After patching, re-inventory to verify the vulnerable component is no longer present.

If you can't patch immediately

Reduce exposure until the update can be installed.

If your data may have been exposed

Actively exploited vulnerabilities can lead to compromise of the hosting application and any data it can reach. Ransomware use of this CVE is not documented, but that does not rule out other post-exploitation activity. If you suspect exploitation, isolate affected hosts, preserve logs, and begin incident response. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data to see whether credentials or personal information have appeared in prior incidents.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedPEAR · Archive_Tar
WeaknessCWE-74
Added to CISA KEVAug 25, 2022
Federal patch deadlineSep 15, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities