CVE-2005-0156 json
Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support (sperl), allows local users to execute arbit…
published 2005-02-07 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-0157
- cvss
- 2.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- perl Debian 14, Debian 13, Debian 12 5.8.4-6
debian advisories DEBIAN-CVE-2005-0156
- perl RHEL 3 2:5.8.0-89.10
- perl-CGI RHEL 3 2:2.81-89.10
- perl-CPAN RHEL 3 2:1.61-89.10
- perl-DB_File RHEL 3 2:1.804-89.10
- perl-suidperl RHEL 3 2:5.8.0-89.10
- perl RHEL 4 3:5.8.5-12.1
- perl-suidperl RHEL 4 3:5.8.5-12.1.1
red hat advisories RHSA-2005:105RHSA-2005:103
- redhat.com/support/errata/RHSA-2005-105.html advisory
- trustix.org/errata/2005/0003/ advisory
- redhat.com/support/errata/RHSA-2005-103.html advisory
- securityfocus.com/bid/12426 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-0156 updated
security flaw
-
Red Hat Desktop version 3 perl 5.8.0-89.10, perl-CGI 2.81-89.10, perl-CPAN 1.61-89.10, perl-DB_File 1.804-89.10, perl-suidperl 5.8.0-89.10 Red Hat Enterprise Linux AS version 3 perl 5.8.0-89.10, perl-CGI 2.81-89.10, perl-CPAN 1.61-89.10, perl-DB_File 1.804-89.10, perl-suidperl 5.8.0-89.10fixed: vendor fix RHSA-2005:105
-
Red Hat Enterprise Linux AS version 4 perl 5.8.5-12.1, perl-suidperl 5.8.5-12.1.1 Red Hat Enterprise Linux Desktop version 4 perl 5.8.5-12.1, perl-suidperl 5.8.5-12.1.1fixed: vendor fix RHSA-2005:103
-
Red Hat Enterprise Linux ES version 3 perl 5.8.0-89.10, perl-CGI 2.81-89.10, perl-CPAN 1.61-89.10, perl-DB_File 1.804-89.10, perl-suidperl 5.8.0-89.10fixed: vendor fix RHSA-2005:105
-
Red Hat Enterprise Linux ES version 4 perl 5.8.5-12.1, perl-suidperl 5.8.5-12.1.1fixed: vendor fix RHSA-2005:103
-
Red Hat Enterprise Linux WS version 3 perl 5.8.0-89.10, perl-CGI 2.81-89.10, perl-CPAN 1.61-89.10, perl-DB_File 1.804-89.10, perl-suidperl 5.8.0-89.10fixed: vendor fix RHSA-2005:105
-
Red Hat Enterprise Linux WS version 4 perl 5.8.5-12.1, perl-suidperl 5.8.5-12.1.1fixed: vendor fix RHSA-2005:103
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-791)
- Published
Exploit prediction
1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-791 Setuid perl - 'PerlIO_Debug()' Local Overflow local, 2005-02-07
- gentoo.org http://www.gentoo.org/security/en/glsa/glsa-200502-13.xml referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
References
-
redhat.com
/support/errata/RHSA-2005-105.html
vendor-advisory, patch
-
trustix.org
/errata/2005/0003/
vendor-advisory, patch
-
redhat.com
/support/errata/RHSA-2005-103.html
vendor-advisory, patch
-
securityfocus.com
/bid/12426
vdb-entry, patch, vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200502-13.xml
vendor-advisory, exploit
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=001056
vendor-advisory
-
fedoranews.org
/updates/FEDORA--.shtml
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2005:031
vendor-advisory
-
marc.info
/?l=full-disclosure&m=110779721503111&w=2
mailing-list
- digitalmunition.com /DMA%5B2005-0131b%5D.txt
-
secunia.com
/advisories/14120
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10803
vdb-entry, signature
-
secunia.com
/advisories/55314
third-party-advisory
-
marc.info
/?l=bugtraq&m=110737149402683&w=2
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/19208
vdb-entry
Sources
- CVE List CVE-2005-0156
- NVD CVE-2005-0156
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.