CVE-2004-0452: Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permiss
CVE-2004-0452 is a low-severity flaw (CVSS 2.6) affecting perl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 2.6 (Low) |
| EPSS exploit chance | 0.4% (top 66%) |
| CISA exploited list | No |
| Published | 2004-12-21 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0452?
perl: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0452 being exploited?
CVE-2004-0452 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0452 affect?
CVE-2004-0452 affects perl. Severity is low (CVSS 2.6). Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, v
How urgent is CVE-2004-0452?
Priority 18/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-13221 CRITICAL 9.1 UPGRADE Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.10 produce silently in
- CVE-2026-57432 HIGH 8.4 UPGRADE Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have an integer ove
- CVE-2022-48522 CRITICAL 9.8 DOWNGRADE In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead to remote code execut
- CVE-2020-12723 HIGH 7.5 UPGRADE MITIGATE regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive
- CVE-2020-10878 HIGH 8.6 UPGRADE MITIGATE Perl before 5.30.3 has an integer overflow related to mishandling of a "PL_regkind[OP(n)] == NOTHING" situatio