CVE-2004-2022: ActivePerl 5.8.x and others, and Larry Wall's Perl 5.6.1 and others, when running on Windows systems, allows a
CVE-2004-2022 is a low-severity flaw (CVSS 2.1) affecting activeperl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
ActivePerl 5.8.x and others, and Larry Wall's Perl 5.6.1 and others, when running on Windows systems, allows attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long argument to the system command, which leads to a stack-based buffer overflow. NOTE: it is unclear whether this bug is in Perl or the OS API that is used by Perl.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 2.1 (Low) |
| EPSS exploit chance | 1.7% (top 22%) |
| CISA exploited list | No |
| Published | 2004-12-31 |
| 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
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
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-2022?
activeperl: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-2022 being exploited?
CVE-2004-2022 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-2022 affect?
CVE-2004-2022 affects activeperl. Severity is low (CVSS 2.1). ActivePerl 5.8.x and others, and Larry Wall's Perl 5.6.1 and others, when running on Windows systems, allows attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long argument to the system command, which
How urgent is CVE-2004-2022?
Priority 32/100. Public exploit reference
Software pages
Windows vulnerabilities · Perl vulnerabilities
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-0377 HIGH 10.0 MITIGATE UPGRADE Buffer overflow in the win32_stat function for (1) ActiveState's ActivePerl and (2) Larry Wall's Perl before 5
- 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