{"id":"CVE-2005-0156","aliases":["BELL-CVE-2005-0156","DEBIAN-CVE-2005-0156","EUVD-2005-0157","GHSA-hv4j-j5rr-rmfx","RHSA-2005:103","RHSA-2005:105"],"status":"published","title":"Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support ...","description":"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.","severity":{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01315,"percentile":0.70954,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2005-02-07T05:00:00Z","modified":"2026-10-23T03:47:30Z","exploits":[{"source":"exploitdb","id":"EDB-791","title":"Setuid perl - 'PerlIO_Debug()' Local Overflow","type":"local","platform":"linux","date":"2005-02-07","verified":true,"url":"https://www.exploit-db.com/exploits/791"}],"fixes":[{"ecosystem":"Debian:12","package":"perl","fixed_in":["5.8.4-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"perl","fixed_in":["5.8.4-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"perl","fixed_in":["5.8.4-6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.4-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.4-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8.4-6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3:5.8.5-12.1.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-CGI","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:2.81-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-CPAN","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.61-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-DB_File","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.804-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"perl-suidperl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.8.0-89.10"}]}],"bundled":3}],"products":[{"vendor":"ibm","product":"aix"},{"vendor":"larry_wall","product":"perl"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"redhat","product":"enterprise_linux_desktop"},{"vendor":"redhat","product":"fedora_core"},{"vendor":"sgi","product":"propack"},{"vendor":"suse","product":"suse_linux"},{"vendor":"trustix","product":"secure_linux"},{"vendor":"ubuntu","product":"ubuntu_linux"}],"references":[{"url":"http://marc.info/?l=full-disclosure\u0026m=110779721503111\u0026w=2","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://www.digitalmunition.com/DMA%5B2005-0131b%5D.txt","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/12426","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-105.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://secunia.com/advisories/14120","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.trustix.org/errata/2005/0003/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-103.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10803","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://secunia.com/advisories/55314","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=110737149402683\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=001056","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","web"]},{"url":"http://fedoranews.org/updates/FEDORA--.shtml","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:031","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/19208","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200502-13.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Exploit","Vendor Advisory","advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0156","tags":["advisory"]},{"url":"http://www.digitalmunition.com/DMA[2005-0131b].txt"},{"url":"http://www.trustix.org/errata/2005/0003"},{"url":"https://github.com/advisories/GHSA-hv4j-j5rr-rmfx"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2005-0156","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2005-0156","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:103","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146739","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146774","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_103.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0452","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618363","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0452","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0452","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0155","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617476","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0155","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-0155","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2005-0156","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617477","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2005-0156","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2005:105","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=140227","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=146737","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_105.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2005-0156","description":"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.","status":"published","published":"2005-02-07T05:00:00Z","modified":"2024-08-07T21:05:24.911Z","updated_at":"2026-11-02T14:33:40.578358Z"}],"euvd":[{"id":"EUVD-2005-0157","description":"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.","status":"published","published":"2005-02-07T05:00:00Z","modified":"2024-08-07T21:05:24Z","updated_at":"2026-11-03T01:15:39.756514Z"}],"ghsa":[{"id":"GHSA-hv4j-j5rr-rmfx","title":"Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support ...","description":"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.","status":"published","published":"2022-05-01T01:47:20Z","modified":"2025-04-03T04:09:00Z","updated_at":"2026-11-02T15:00:41.179225Z"}],"nvd":[{"id":"CVE-2005-0156","description":"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.","status":"published","published":"2005-02-07T05:00:00Z","modified":"2026-06-16T22:10:36.713Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:00:54.594271Z"}],"osv":[{"id":"BELL-CVE-2005-0156","title":"CVE-2005-0156 does not affect BellSoft software","status":"withdrawn","published":"2005-02-07T05:00:00Z","modified":"2026-01-28T07:19:03.269119Z","cvss":[{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","level":"low"}],"updated_at":"2026-11-02T15:28:12.886815Z"},{"id":"CVE-2005-0156","description":"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.","status":"published","published":"2005-02-07T05:00:00Z","modified":"2026-04-10T03:36:51.637789Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2005-0156","description":"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.","status":"published","published":"2005-02-07T05:00:00Z","modified":"2026-10-23T03:47:30.204821286Z","updated_at":"2026-11-02T15:45:22.831407Z"},{"id":"RHSA-2005:103","title":"Red Hat Security Advisory: perl security update","status":"published","published":"2024-09-15T15:11:44Z","modified":"2026-06-26T10:02:21Z","updated_at":"2026-11-02T15:52:59.135214Z"},{"id":"RHSA-2005:105","title":"Red Hat Security Advisory: perl security update","status":"published","published":"2024-09-15T15:11:48Z","modified":"2026-06-26T10:02:23Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
