Skip to content
Fencer Vulns
low 2.1

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

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.10
    fixed: 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.1
    fixed: 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.10
    fixed: 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.1
    fixed: 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.10
    fixed: 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.1
    fixed: 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

  1. First public exploit (EDB-791)
  2. 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

Sources

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.