CVE-2002-1652: Buffer Overflow in cgiemail 1.6 cgicso.c
- Vendor
- Massachusetts Institute of Technology
A buffer overflow vulnerability exists in cgicso.c in cgiemail 1.6, where improper handling of long query parameters allows remote attackers to overflow a buffer. This can result in a denial of service (application crash) and potentially allow execution of arbitrary code.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can lead to a denial of service by crashing the cgiemail process. If the attacker is able to control the overflowed data, there is a possibility of arbitrary code execution with the privileges of the web server process.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the vulnerable CGI script to trusted users or internal networks. Employ web application firewalls to filter malicious input. Consider disabling or removing the cgiemail service if it is not required.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of cgiemail where proper bounds checking is implemented for query parameters. If no official patch is available, apply a custom patch to ensure all input is properly validated and buffer sizes are respected.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2002-1652 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2002-1652 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2002-1652?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2002-1652.
- Is there a patch for CVE-2002-1652?
- Upgrade to a patched version of cgiemail where proper bounds checking is implemented for query parameters. If no official patch is available, apply a custom patch to ensure all input is properly validated and buffer sizes are respected.
- What products are affected by CVE-2002-1652?
- Massachusetts Institute of Technology Cgiemail.
- How severe is CVE-2002-1652?
- CVE-2002-1652 has a CVSS v2 score of 7.5 (High) and an EPSS score of 8.0% (95th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.