Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support (sperl), allows local users to execute arbitr
Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support (sperl), allows local users to execute arbitrary code by setting the PERLIO_DEBUG variable and executing a Perl script whose full pathname contains a long directory tree.
- Published
- Feb 7, 2005
- Updated
- Jun 16, 2026
- EPSS
- 1.3% · 70th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
8
Monitor
Low priority for now.
- CVSS
- 8 / 40 · 2.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| larry wall | perl | cpe:2.3:a:larry_wall:perl |
| sgi | propack | cpe:2.3:a:sgi:propack |
| ibm | aix | cpe:2.3:o:ibm:aix |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | fedora core | cpe:2.3:o:redhat:fedora_core |
| suse | suse linux | cpe:2.3:o:suse:suse_linux |
| trustix | secure linux | cpe:2.3:o:trustix:secure_linux |
| ubuntu | ubuntu linux | cpe:2.3:o:ubuntu:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- ibm aix5.2
- ibm aix5.3
- larry wall perl5.8.0
- larry wall perl5.8.1
- larry wall perl5.8.3
- larry wall perl5.8.4
- larry wall perl5.8.4.1
- larry wall perl5.8.4.2
- larry wall perl5.8.4.2.3
- larry wall perl5.8.4.3
- larry wall perl5.8.4.4
- larry wall perl5.8.4.5
- redhat enterprise linux3.0
- redhat enterprise linux desktop3.0
- redhat fedora corecore_3.0
- sgi propack3.0
- suse suse linux8.0
- suse suse linux8.1
- suse suse linux8.2
- suse suse linux9.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | perl | before 5.8.4-6 | 5.8.4-6 |
| Red Hat:enterprise_linux:3::as | perl | before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
| Red Hat:enterprise_linux:3::as | perl-CGI | before 2:2.81-89.10 | 2:2.81-89.10 |
| Red Hat:enterprise_linux:3::as | perl-CPAN | before 2:1.61-89.10 | 2:1.61-89.10 |
| Red Hat:enterprise_linux:3::as | perl-DB_File | before 2:1.804-89.10 | 2:1.804-89.10 |
| Red Hat:enterprise_linux:3::as | perl-debuginfo | before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
| Red Hat:enterprise_linux:3::as | perl-suidperl | before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
| Red Hat:enterprise_linux:4::as | perl | before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
| Red Hat:enterprise_linux:4::as | perl-debuginfo | before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
| Red Hat:enterprise_linux:4::as | perl-suidperl | before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
Same product
larry wall: all recordsOther highest-scoring records for the same primary product.
- CVE-2005-4278Untrusted search path vulnerability in Perl before 5.8.7-r1 on Gentoo Linux allows local users in the portage group to gain privileges via a28Monitor
- CVE-2000-0703suidperl (aka sperl) does not properly cleanse the escape sequence "~!" before calling /bin/mail to send an error report, which allows local28Monitor
- CVE-1999-0034Buffer overflow in suidperl (sperl), Perl 4.x and 5.x.28Monitor
- CVE-2003-0900Perl 5.8.1 on Fedora Core does not properly initialize the random number generator when forking, which makes it easier for attackers to pred20Monitor
- CVE-2005-0155The PerlIO implementation in Perl 5.8.0, when installed with setuid support (sperl), allows local users to create arbitrary files via the PE18Monitor
- CVE-2004-0452Race 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 allo10Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:perl | 5.8.4-6 · Debian:12 | Package registry (OSV) |
| red hat:perl | 3:5.8.5-12.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:perl-CGI | 2:2.81-89.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:perl-CPAN | 2:1.61-89.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:perl-DB_File | 2:1.804-89.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:perl-debuginfo | 3:5.8.5-12.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:perl-suidperl | 3:5.8.5-12.1.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2005-02-07 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoCsame day
- Published
- TodaySep 30, 2026+7905 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
AV:L/AC:L/Au:N/C:N/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- distro.conectiva.com.br/atualizacoes/?id=a&anuncio=001056
- fedoranews.org/updates/FEDORA--.shtml
- marc.info/?l=bugtraq&m=110737149402683&w=2
- marc.info/?l=full-disclosure&m=110779721503111&w=2
- secunia.com/advisories/14120
- secunia.com/advisories/55314
- www.digitalmunition.com/DMA%5B2005-0131b%5D.txt
- www.mandriva.com/security/advisories?name=MDKSA-2005:031
- www.redhat.com/support/errata/RHSA-2005-103.html
- www.redhat.com/support/errata/RHSA-2005-105.html
- www.securityfocus.com/bid/12426
- www.trustix.org/errata/2005/0003/
- exchange.xforce.ibmcloud.com/vulnerabilities/19208
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10803
Vendor advisories and official records. Exploit/PoC links are deliberately left out.