Home / Perl / File\ / CVE-2008-5303
CVE-2008-5303: is it exploited, and which versions of Perl File\ are affected and fixed?
CVE-2008-5303 is a race condition vulnerability in Perl File\. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: file\ \ (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.9, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-5303?
Race condition in the rmtree function in File::Path 1.08 (lib/File/Path.pm) in Perl 5.8.8 allows local users to to delete arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448, CVE-2004-0452, and CVE-2008-2827. NOTE: this is a regression error related to CVE-2005-0448. It is different from CVE-2008-5302 due to affected versions.
From the CVE record by mitre, last updated August 7, 2024, 10:49 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| perl | file\ | \ | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:59 UTC.
How severe is CVE-2008-5303?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-5303 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Where are the vendor advisories and references?
- 32980 third-party-advisory, x_refsource_SECUNIA
- http://wiki.rpath.com/Advisories:rPSA-2009-0011 x_refsource_CONFIRM
- DSA-1678 vendor-advisory, x_refsource_DEBIAN
- USN-700-1 vendor-advisory, x_refsource_UBUNTU
- [oss-security] 20081128 Re: [oss-security] CVE Request - cups, dovecot-managesieve, perl, wireshark mailing-list, x_refsource_MLIST
- APPLE-SA-2010-03-29-1 vendor-advisory, x_refsource_APPLE
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286905 x_refsource_CONFIRM
- oval:org.mitre.oval:def:6680 vdb-entry, signature, x_refsource_OVAL
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286922#36 x_refsource_CONFIRM
- http://support.apple.com/kb/HT4077 x_refsource_CONFIRM
- 33314 third-party-advisory, x_refsource_SECUNIA
- oval:org.mitre.oval:def:9699 vdb-entry, signature, x_refsource_OVAL
- 20090120 rPSA-2009-0011-1 perl mailing-list, x_refsource_BUGTRAQ
- USN-700-2 vendor-advisory, x_refsource_UBUNTU
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 x_refsource_CONFIRM
- 40052 third-party-advisory, x_refsource_SECUNIA
- RHSA-2010:0458 vendor-advisory, x_refsource_REDHAT
- filepath-rmtree-symlink(47044) vdb-entry, x_refsource_XF
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735 x_refsource_CONFIRM
- http://www.gossamer-threads.com/lists/perl/porters/233695#233695 x_refsource_MISC
- MDVSA-2010:116 vendor-advisory, x_refsource_MANDRIVA
When was it published, and where is the official record?
- Reserved
- December 1, 2008
- Published
- December 1, 2008, 17:00 UTC
- CVE record updated
- August 7, 2024, 10:49 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:59 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect File\?
- Dec 1, 2008CVE-2008-5302 Perl File\: race condition
Questions about CVE-2008-5303
Is CVE-2008-5303 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Perl File\ are affected by CVE-2008-5303?
file\ \, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-5303?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2008-5303?
Medium (6.9, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-5303?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.