CVE-2004-0452 in Larry Wall Perl
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, no confidentiality impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Larry Wall | Perl | 5.6.1 5.8.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0452 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-343106-L |
| CVSS vector | AV:L/AC:H/Au:N/C:N/I:P/A:P |
| Published | 2004-12-21 |
| Last modified | 2026-04-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2004. A low severity vulnerability affects Larry Wall systems (CVE-2004-0452). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:L/AC:H/Au:N/C:N/I:P/A:P.
Questions
What is CVE-2004-0452?
This vulnerability was disclosed in 2004. A low severity vulnerability affects Larry Wall systems (CVE-2004-0452). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2004-0452?
CVE-2004-0452 has CVSS 2.6 (Low). Vector: AV:L/AC:H/Au:N/C:N/I:P/A:P. EPSS: 0.4%.
Is CVE-2004-0452 actively exploited?
No confirmed active exploitation of CVE-2004-0452 as of 2026-05-30.
How do I remediate CVE-2004-0452?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2004-0452?
CVE-2004-0452 affects Larry Wall Perl.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Larry Wall","product":"Perl","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-16.