Description
Race condition in the rmtree function in File::Path.pm in Perl before 5.8.4 allows local users to create arbitrary setuid binaries in the tree being deleted, a different vulnerability than CVE-2004-0452.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | perl | 5.8.4-7 | — |
| Debian 13 | perl | 5.8.4-7 | — |
| Debian 12 | perl | 5.8.4-7 | — |
| Debian 4.0 | perl | 5.8.8-7etch5 | DSA-1678-1 |
| Debian 3.0 | perl | 5.6.1-8.9 | DSA-696-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | perl +1 | 3:5.8.5-16.RHEL4 | RHSA-2005:674 |
| RHEL 3 | perl +1 | 2:5.8.0-90.4 | RHSA-2005:881 |
| RHEL 3 | perl-CGI | 2:2.89-90.4 | RHSA-2005:881 |
| RHEL 3 | perl-CPAN | 2:1.61-90.4 | RHSA-2005:881 |
| RHEL 3 | perl-DB_File | 2:1.806-90.4 | RHSA-2005:881 |
Advisories 4
- RHSA-2005:881 Red Hat Security Advisory: perl security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2005:674 Red Hat Security Advisory: perl security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-696-1 perl - design flaw Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1678-1 perl - privilege escalation Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-696 vendor-advisory
- HPSBUX01208 vendor-advisory
- RHSA-2005:881 vendor-advisory
- MDKSA-2005:079 vendor-advisory
- 55314 third-party-advisory
- 18075 third-party-advisory
- 12767 vdb-entry
- CLSA-2006:1056 vendor-advisory
- oval:org.mitre.oval:def:10475 vdb-entry signature
- FLSA-2006:152845 vendor-advisory
- oval:org.mitre.oval:def:728 vdb-entry signature
- GLSA-200501-38 vendor-advisory
- 18517 third-party-advisory
- RHSA-2005:674 vendor-advisory
- 17079 third-party-advisory
- 14531 third-party-advisory
- USN-94-1 vendor-advisory