CVE-2004-0377 Memory corruption in n/a
A buffer overflow in Perl's win32_stat function allows remote attackers to execute arbitrary commands via specially crafted filenames ending in a backslash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2004-0377?
CVE-2004-0377 is a critical memory corruption vulnerability in n/a, published on 6 Apr 2004. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Buffer overflow in the win32_stat function for (1) ActiveState's ActivePerl and (2) Larry Wall's Perl before 5.8.3 allows local or remote attackers to execute arbitrary commands via filenames that end in a backslash character.
Which versions are affected by CVE-2004-0377?
It affects 2 products.
Linux distribution packages (1)
grype-db openSUSE:Tumbleweed | All versions | 0.35.0-1.1 |
Products include Activestate Activeperl, Larry Wall Perl.
How do I fix CVE-2004-0377?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2004-0377 being exploited?
There is no known exploitation of CVE-2004-0377 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-rm2p-jhqp-33q2, openSUSE-SU-2025:15377-1.