CVE-2002-1850

HIGH

Apache HTTP Server 2.0.39-2.0.40 - Denial of Service via mod_cgi stderr Deadlock

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2002-1850. PoCs published by K.C. Wong.

AI-analyzed exploit summary This exploit demonstrates a denial of service (DoS) vulnerability in Apache 2.0.39/2.0.40 by writing excessive data to stderr, causing the process to crash. The PoC generates a large buffer and writes it to stderr, exploiting the default OS limits on error output.

Description

mod_cgi in Apache 2.0.39 and 2.0.40 allows local users and possibly remote attackers to cause a denial of service (hang and memory consumption) by causing a CGI script to send a large amount of data to stderr, which results in a read/write deadlock between httpd and the CGI script.

Exploits (1)

exploitdb WORKING POC VERIFIED
by K.C. Wong · cdoslinux
https://www.exploit-db.com/exploits/21854

This exploit demonstrates a denial of service (DoS) vulnerability in Apache 2.0.39/2.0.40 by writing excessive data to stderr, causing the process to crash. The PoC generates a large buffer and writes it to stderr, exploiting the default OS limits on error output.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Apache 2.0.39/2.0.40
No auth needed
Prerequisites: Access to a system running vulnerable Apache version · Ability to execute the exploit (e.g., via CGI or local access)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Broken Link, Patch, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/8725
Broken Link, Patch, Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1007823
Exploit, Mailing List, Third Party Advisory mailing-list x_refsource_bugtraq
http://seclists.org/bugtraq/2002/Sep/0253.html
Broken Link, Patch vdb-entry x_refsource_xf
http://www.iss.net/security_center/static/10200.php
Broken Link, Exploit, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/5787
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=apache-httpd-dev&m=103291952019514&w=2
Issue Tracking, Patch x_refsource_misc
http://issues.apache.org/bugzilla/show_bug.cgi?id=22030

Scores

CVSS v3 7.5
EPSS 0.1741
EPSS Percentile 96.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-667
Status published
Products (2)
apache/http_server 2.0.39
apache/http_server 2.0.40
Published Dec 31, 2002
Tracked Since Feb 18, 2026