Read the docs
TI-2004-00407 Aliases CVE-2004-0452GHSA-27g6-7ffq-cf4w

Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4…

Priority LOW 13Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

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 it matters now

EPSS 0.00402 34th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:larry_wall:perl:5.6.1:*:*:*:*:*:*:*5.6.1VulnerableLarry Wall
cpe:2.3:a:larry_wall:perl:5.8.4:*:*:*:*:*:*:*5.8.4VulnerableLarry Wall
  • cpe:2.3:a:larry_wall:perl:5.6.1:*:*:*:*:*:*:* Versions 5.6.1 Vulnerable ·Larry Wall
  • cpe:2.3:a:larry_wall:perl:5.8.4:*:*:*:*:*:*:* Versions 5.8.4 Vulnerable ·Larry Wall

Remediation

Red Hat 2 advisories

  • RHSA-2005:103 Released 2005-02-15 · Red Hat rating Important
    perl security update
    • Red Hat Enterprise Linux AS version 4 perl-3:5.8.5-12.1, perl-3:5.8.5-12.1.i386, perl-3:5.8.5-12.1.ia64 +5
    • Red Hat Enterprise Linux Desktop version 4 perl-3:5.8.5-12.1, perl-3:5.8.5-12.1.i386, perl-suidperl-3:5.8.5-12.1.1 +1
    • Red Hat Enterprise Linux ES version 4 perl-3:5.8.5-12.1, perl-3:5.8.5-12.1.i386, perl-3:5.8.5-12.1.ia64 +3
    • Red Hat Enterprise Linux WS version 4 perl-3:5.8.5-12.1, perl-3:5.8.5-12.1.i386, perl-3:5.8.5-12.1.ia64 +3
  • RHSA-2005:105 Released 2005-02-07 · Red Hat rating Important
    perl security update
    • Red Hat Desktop version 3 perl-2:5.8.0-89.10, perl-2:5.8.0-89.10.i386, perl-CGI-2:2.81-89.10 +7
    • Red Hat Enterprise Linux AS version 3 perl-2:5.8.0-89.10, perl-2:5.8.0-89.10.i386, perl-2:5.8.0-89.10.ia64 +17
    • Red Hat Enterprise Linux ES version 3 perl-2:5.8.0-89.10, perl-2:5.8.0-89.10.i386, perl-2:5.8.0-89.10.ia64 +12
    • Red Hat Enterprise Linux WS version 3 perl-2:5.8.0-89.10, perl-2:5.8.0-89.10.i386, perl-2:5.8.0-89.10.ia64 +12

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Desktop version 3Fixed RHSA-2005:105
Red Hat Enterprise Linux AS version 3Fixed RHSA-2005:105
Red Hat Enterprise Linux AS version 4Fixed RHSA-2005:103
Red Hat Enterprise Linux Desktop version 4Fixed RHSA-2005:103
Red Hat Enterprise Linux ES version 3Fixed RHSA-2005:105
Red Hat Enterprise Linux ES version 4Fixed RHSA-2005:103
Red Hat Enterprise Linux WS version 3Fixed RHSA-2005:105
Red Hat Enterprise Linux WS version 4Fixed RHSA-2005:103

Timeline

  1. 2026-10-02 Threatist record created from CVE-2004-0452
  2. 2026-10-03 Alias added: GHSA-27g6-7ffq-cf4w

References

  • TI-2004-00345 Buffer overflow in the win32_stat function for (1) ActiveState's ActivePerl and (2) Larry… CVSS 2.0HIGH 10.0
  • TI-2004-02157 Integer overflow in the duplication operator in ActivePerl allows remote attackers to… CVSS 2.0HIGH 7.5
  • TI-2007-04928 Buffer overflow in the polymorphic opcode support in the Regular Expression Engine… CVSS 2.0HIGH 7.5
  • TI-2000-00701 suidperl (aka sperl) does not properly cleanse the escape sequence "~!" before calling… CVSS 2.0HIGH 7.2
  • TI-1999-00033 Buffer overflow in suidperl (sperl), Perl 4.x and 5.x. CVSS 2.0HIGH 7.2
  • TI-2005-04022 Untrusted search path vulnerability in Perl before 5.8.7-r1 on Gentoo Linux allows local… CVSS 2.0HIGH 7.2
See all 11 →

Sources