CVE-2005-0156
Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support ...
CVE-2005-0156 is a low vulnerability (CVSS 2.1) in Larry Wall Perl, published February 7, 2005. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.31%, the 70th percentile. Fixed in perl 5.8.4-6.
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.
Exploit likelihood
What each source reports
NVD Score used
2.1
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.
- Record
CVE-2005-0156- CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2005-0156- Updated
- 2026-11-02
EUVDEUVD-2005-0157 No score
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.
- Record
EUVD-2005-0157- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hv4j-j5rr-rmfx No score
Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support ...
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.
- Record
GHSA-hv4j-j5rr-rmfx- Updated
- 2026-11-02
OSVBELL-CVE-2005-0156
2.1
CVE-2005-0156 does not affect BellSoft software
- Record
BELL-CVE-2005-0156- CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2005-0156- Updated
- 2026-11-02
OSVDEBIAN-CVE-2005-0156 No score
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.
- Record
DEBIAN-CVE-2005-0156- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perlDebian:12 |
before 5.8.4-6 | 5.8.4-6 |
perlDebian:13 |
before 5.8.4-6 | 5.8.4-6 |
perlDebian:14 |
before 5.8.4-6 | 5.8.4-6 |
perlRed Hat:enterprise_linux:4::as |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-debuginfoRed Hat:enterprise_linux:4::as |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-suidperlRed Hat:enterprise_linux:4::as |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:4::desktop |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-debuginfoRed Hat:enterprise_linux:4::desktop |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-suidperlRed Hat:enterprise_linux:4::desktop |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:4::es |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
perl-debuginfoRed Hat:enterprise_linux:4::es |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-suidperlRed Hat:enterprise_linux:4::es |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:4::ws |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-debuginfoRed Hat:enterprise_linux:4::ws |
before 3:5.8.5-12.1 | 3:5.8.5-12.1 |
perl-suidperlRed Hat:enterprise_linux:4::ws |
before 3:5.8.5-12.1.1 | 3:5.8.5-12.1.1 |
perlRed Hat:enterprise_linux:3::as |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::as |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::as |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::as |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::as |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::as |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perlRed Hat:enterprise_linux:3::desktop |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::desktop |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::desktop |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::desktop |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::desktop |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::desktop |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perlRed Hat:enterprise_linux:3::es |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::es |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::es |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::es |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::es |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::es |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perlRed Hat:enterprise_linux:3::ws |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-CGIRed Hat:enterprise_linux:3::ws |
before 2:2.81-89.10 | 2:2.81-89.10 |
perl-CPANRed Hat:enterprise_linux:3::ws |
before 2:1.61-89.10 | 2:1.61-89.10 |
perl-DB_FileRed Hat:enterprise_linux:3::ws |
before 2:1.804-89.10 | 2:1.804-89.10 |
perl-debuginfoRed Hat:enterprise_linux:3::ws |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
perl-suidperlRed Hat:enterprise_linux:3::ws |
before 2:5.8.0-89.10 | 2:5.8.0-89.10 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Setuid perl - 'PerlIO_Debug()' Local Overflow | 2005-02-07 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
References
marc.info?l=full-disclosure&m=110779721503111&w=2
digitalmunition.com/DMA%5B2005-0131b%5D.txt
securityfocus.com/bid/12426
redhat.com/support/errata/RHSA-2005-105.html
secunia.com/advisories/14120
trustix.org/errata/2005/0003
Show 34 moreShow less
redhat.com/support/errata/RHSA-2005-103.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10803
secunia.com/advisories/55314
marc.info?l=bugtraq&m=110737149402683&w=2
distro.conectiva.com.br/atualizacoes?id=a&anuncio=001056
fedoranews.org/updates/FEDORA--.shtml
mandriva.com/security/advisories?name=MDKSA-2005:031
exchange.xforce.ibmcloud.com/vulnerabilities/19208
gentoo.org/security/en/glsa/glsa-200502-13.xml
nvd.nist.gov/vuln/detail/CVE-2005-0156
digitalmunition.com/DMA[2005-0131b].txt
github.com/advisories/GHSA-hv4j-j5rr-rmfx
docs.bell-sw.com/security/cves/CVE-2005-0156
security-tracker.debian.org/tracker/CVE-2005-0156
access.redhat.com/errata/RHSA-2005:103
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=146739
bugzilla.redhat.com/show_bug.cgi?id=146774
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_103.json
access.redhat.com/security/cve/CVE-2004-0452
bugzilla.redhat.com/show_bug.cgi?id=1618363
cve.org/CVERecord?id=CVE-2004-0452
nvd.nist.gov/vuln/detail/CVE-2004-0452
access.redhat.com/security/cve/CVE-2005-0155
bugzilla.redhat.com/show_bug.cgi?id=1617476
cve.org/CVERecord?id=CVE-2005-0155
nvd.nist.gov/vuln/detail/CVE-2005-0155
access.redhat.com/security/cve/CVE-2005-0156
bugzilla.redhat.com/show_bug.cgi?id=1617477
cve.org/CVERecord?id=CVE-2005-0156
access.redhat.com/errata/RHSA-2005:105
bugzilla.redhat.com/show_bug.cgi?id=140227
bugzilla.redhat.com/show_bug.cgi?id=146737
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_105.json