CVE-2004-0377: Buffer overflow in the win32_stat function for (1) ActiveState's ActivePerl and (2) Larry Wall's Perl before 5
CVE-2004-0377 is a high-severity flaw (CVSS 10.0) affecting activeperl, perl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 6%: very likely to be exploited
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (High) |
| EPSS exploit chance | 6.8% (top 6%) |
| CISA exploited list | No |
| Published | 2004-05-04 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0377?
activeperl: mitigate or apply the listed mitigation; perl: upgrade to newer than 5.8.3. Exact commands for each OS are on this page.
Is CVE-2004-0377 being exploited?
CVE-2004-0377 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0377 affect?
CVE-2004-0377 affects activeperl, perl. Severity is high (CVSS 10.0). 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.
How urgent is CVE-2004-0377?
Priority 58/100. Critical severity; EPSS top 6%: very likely to be exploited
Software pages
Related CVEs
- CVE-2012-5377 MEDIUM 6.0 DOWNGRADE Untrusted search path vulnerability in the installation functionality in ActivePerl 5.16.1.1601, when installe
- CVE-2006-2856 MEDIUM 4.6 DOWNGRADE ActiveState ActivePerl 5.8.8.817 for Windows configures the site/lib directory with "Users" group permissions
- CVE-2004-2286 HIGH 7.5 DOWNGRADE DOWNGRADE Integer overflow in the duplication operator in ActivePerl allows remote attackers to cause a denial of servic
- CVE-2004-2022 LOW 2.1 DOWNGRADE ActivePerl 5.8.x and others, and Larry Wall's Perl 5.6.1 and others, when running on Windows systems, allows a
- CVE-2001-0815 HIGH 7.5 UPGRADE Buffer overflow in PerlIS.dll in Activestate ActivePerl 5.6.1.629 and earlier allows remote attackers to execu