CVE-2004-2022
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.738%
chance of exploitation in the next 30 days
higher than 78.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Timeline
- 2004-05-18First Exploit-DB entry (EDB-ID 24128)227 days before publication
- 2004-12-31Published
- 2005-05-10Published by the CNA04:00 UTC · 130 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 24128 | dos | windows | 2004-05-18 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| activestate activeperl | 5.6.1no fix listed5.6.1.630no fix listed5.6.2no fix listed5.6.3no fix listed5.7.1no fix listed(+3 more) | not listednot listednot listednot listednot listed |
References
- http://www.oliverkarow.de/research/ActivePerlSystemBOF.txt
- http://www.perlmonks.org/index.pl?node_id=354145
- http://www.securityfocus.com/bid/10375
- http://archives.neohapsis.com/archives/fulldisclosure/2004-05/0905.html
- http://marc.info/?l=bugtraq&m=108489894009025&w=2
- http://marc.info/?l=full-disclosure&m=108482796105922&w=2
- http://marc.info/?l=full-disclosure&m=108483058514596&w=2
- http://marc.info/?l=full-disclosure&m=108489112131099&w=2
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16169
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2004-2022'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2004-2022'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2004-2022'curl 'https://api.contrastcyber.com/cve_products/CVE-2004-2022'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).