{"schemaVersion":3,"id":"CVE-2020-28949","aliases":["UBUNTU-CVE-2020-28949","DEBIAN-CVE-2020-28949"],"status":"published","duplicateOf":null,"title":"PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability","description":"Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as file:// to overwrite files) can still succeed.","dates":{"published":"2020-11-19T18:14:18.000Z","modified":"2025-10-21T23:35:32.687Z","reserved":null,"kevAdded":["2022-08-25T00:00:00.000Z"],"kevDue":["2022-09-15T00:00:00.000Z"]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.84554,"percentile":0.99702,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.84554},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.84554,"percentile":0.99702}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.84554,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.84554,"percentile":0.99702}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-08-25T00:00:00.000Z","dueDate":"2022-09-15T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability","description":"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 distribution system for reusable PHP components with known usage in third-party products such as Drupal Core and Red Hat Linux.","notes":[{"type":"text","value":"https://pear.php.net/bugs/bug.php?id=27002, https://www.drupal.org/sa-core-2020-013, https://access.redhat.com/security/cve/cve-2020-28949"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2020-28949","label":"nvd.nist.gov/vuln/detail/CVE-2020-28949"}],"vendor":"PEAR","product":"Archive_Tar","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-08-25T00:00:00.000Z","dueDate":"2022-09-15T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability","description":"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 distribution system for reusable PHP components with known usage in third-party products such as Drupal Core and Red Hat Linux.","notes":[{"type":"text","value":"https://pear.php.net/bugs/bug.php?id=27002, https://www.drupal.org/sa-core-2020-013, https://access.redhat.com/security/cve/cve-2020-28949"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2020-28949","label":"nvd.nist.gov/vuln/detail/CVE-2020-28949"}],"vendor":"PEAR","product":"Archive_Tar","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PEAR_ARCHIVE_TAR","name":"Archive Tar","source":"github","url":"https://github.com/pear/Archive_Tar/issues/33","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_297E9BAACCF31AF8","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_MULTI_FILEFORMAT_ARCHIVE_TAR_ARB_FILE_WRITE","name":"PEAR Archive_Tar 1.4.10 Arbitrary File Write","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/fileformat/archive_tar_arb_file_write.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/fileformat/archive_tar_arb_file_write","rank":"600","rankName":"excellent","postAuth":false,"check":false,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":3,"weaknesses":[],"affected":[{"vendor":"debian","product":"php-pear","name":"php-pear","label":"php-pear","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-pear","purlType":"deb","versions":[{"text":"< 1:1.10.9+submodules+notgz-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:1.10.9+submodules+notgz-1.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"drupal7","name":"drupal7","label":"drupal7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/drupal7","purlType":"deb","versions":[{"text":"< 7.26-1ubuntu0.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 7.44-1ubuntu1~16.04.0+esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.26-1ubuntu0.1+esm2 | < 7.44-1ubuntu1~16.04.0+esm2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-pear","name":"php-pear","label":"php-pear","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-pear","purlType":"deb","versions":[{"text":"< 1:1.10.1+submodules+notgz-6ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:1.10.5+submodules+notgz-1ubuntu1.18.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:1.10.9+submodules+notgz-1ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:1.10.1+submodules+notgz-6ubuntu0.2 | < 1:1.10.5+submodules+notgz-1ubuntu1.18.04.2 | < 1:1.10.9+submodules+notgz-1ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"drupal","product":"drupal","name":"drupal","label":"drupal","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0, < 7.75","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.9.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.8.0, < 8.8.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.0.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0, < 7.75 | ≥ 8.0.0, < 8.9.10 | ≥ 8.8.0, < 8.8.12 | ≥ 9.0.0, < 9.0.9","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"drupal","label":"Drupal","category":"server-app"}},"hubHref":"/vendor/drupal/drupal"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"32","noFixRecorded":false,"fixedIn":null},{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"32 | 33 | 34 | 35","eol":{"isEol":true,"eolDate":"2021-05-25T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"32","label":"32","eolFrom":"2021-05-25T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"php","product":"archive_tar","name":"archive tar","label":"archive_tar","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.4.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.12","eol":null,"hubHref":"/vendor/php/archive_tar"}],"affectedCount":7,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/pear/Archive_Tar/issues/33","label":"github.com/pear/Archive_Tar/issues/33","hostname":"github.com","tags":["X Refsource MISC","Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://www.drupal.org/sa-core-2020-013","label":"www.drupal.org/sa-core-2020-013","hostname":"www.drupal.org","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00045.html","label":"lists.debian.org/debian-lts-announce/2020/11/msg00045.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4V35LBRM6HBCXBVCITKQ4UEBTXO2EG7B/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NBYZSHYTIOBK6V7C4N7TP6KIKCRKLVWP/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4817","label":"www.debian.org/security/2020/dsa-4817","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Mailing List","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html","label":"packetstormsecurity.com/files/161095/PEAR-Archive_Tar-Arbitrary-File-Write.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://security.gentoo.org/glsa/202101-23","label":"security.gentoo.org/glsa/202101-23","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-28949","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-28949","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]},{"url":"https://ubuntu.com/security/CVE-2020-28949","label":"ubuntu.com/security/CVE-2020-28949","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4654-1","label":"ubuntu.com/security/notices/USN-4654-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-28949","label":"www.cve.org/CVERecord?id=CVE-2020-28949","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog","hostname":"www.cisa.gov","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6981-1","label":"ubuntu.com/security/notices/USN-6981-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6981-2","label":"ubuntu.com/security/notices/USN-6981-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-28949","label":"security-tracker.debian.org/tracker/CVE-2020-28949","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2465-1","DLA-2466-1","DSA-4817-1","MGASA-2020-0453","RHSA-2022:6541","RHSA-2022:6542","RHSA-2022:7340","USN-4654-1","USN-6981-1","USN-6981-2"],"duplicates":[],"related":["USN-4654-1","USN-6981-1","USN-6981-2"]},"timeline":[{"kind":"published","date":"2020-11-19T18:14:18.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-08-25T00:00:00.000Z","label":"Added to CISA KEV","detail":"PEAR Archive_Tar Deserialization of Untrusted Data Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-09-15T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:35:32.687Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:06:59.424Z","stale":false,"partial":false}}