CVE-2005-0156 Memory corruption in n/a

Low 2.1 Published Updated

Local attackers can execute arbitrary code with elevated privileges via a buffer overflow in Perl's setuid mode using crafted environment variables.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2005-0156?

CVE-2005-0156 is a low-severity memory corruption vulnerability in Ibm Aix, published on 7 Feb 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2005-0156?

It affects 9 products.

Products include Ibm Aix, Larry Wall Perl, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Fedora Core, Sgi Propack and 3 more.

How do I fix CVE-2005-0156?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2005-0156 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-0156 exists.

Public exploit code: 1 Exploit-DB entry.

All Ibm Aix vulnerabilities

Sources

Also known as DEBIAN-CVE-2005-0156, GHSA-hv4j-j5rr-rmfx.

Is CVE-2005-0156 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free