← Vulnerability feed

Vulnerability record · CVE-2004-0942 · published 9 February 2005

CVE-2004-0942: Apache HTTP Server MIME header parsing CPU exhaustion DoS

Apache · Http Server

Apache HTTP Server 2.0.52 and earlier consumes excessive CPU when handling an HTTP GET request whose MIME header contains multiple lines filled with large numbers of space characters. The flaw is a denial-of-service condition in header parsing, and the record does not name the specific parsing routine or the exact fix. Because the request is unauthenticated and trivially crafted, any reachable web listener is exposed.

5.0 CVSS 2.0 Medium EPSS 55% · top 1.0%
5.0CVSS 2.0 base score
55%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
52References
16 Jun 2026Last modified by NVD

Description

Apache webserver 2.0.52 and earlier allows remote attackers to cause a denial of service (CPU consumption) via an HTTP GET request with a MIME header containing multiple lines with a large number of space characters.

AV:N/AC:L/Au:N/C:N/I:N/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

medium priorityUnauthenticated remote availability impact with high EPSS but only partial impact and no confirmed exploit or KEV listing, on a long-obsolete Apache version.

What it is

Apache HTTP Server 2.0.52 and earlier consumes excessive CPU when handling an HTTP GET request whose MIME header contains multiple lines filled with large numbers of space characters. The flaw is a denial-of-service condition in header parsing, and the record does not name the specific parsing routine or the exact fix. Because the request is unauthenticated and trivially crafted, any reachable web listener is exposed.

Impact

A remote attacker can drive CPU consumption on the server, degrading or denying service to legitimate clients. There is no confidentiality or integrity impact; only availability is affected.

Attack surface

Reached over the network by sending a crafted HTTP GET request with a malformed multi-line MIME header to the web server. No authentication and no user interaction are required, per the AV:N/AC:L/Au:N vector.

Exploitation

Not listed in CISA KEV and no reference is tagged as exploit code, but EPSS is 0.55105 (99th percentile), indicating a high modeled likelihood of exploitation activity. The record does not confirm public exploit availability.

What to do

  • Upgrade Apache HTTP Server past 2.0.52 to a vendor-supported release; this is the primary fix.
  • If upgrade is not immediately possible, apply the relevant vendor errata (Red Hat RHSA-2004-562, Mandriva MDKSA-2004:135, Trustix, Sun, HP, Avaya advisories) for backported fixes.
  • Front the server with a reverse proxy or WAF rule that rejects or normalizes HTTP headers containing excessive whitespace or abnormal line counts.
  • Enforce request header size and count limits at the web server or load balancer to bound parsing work.
  • Monitor CPU saturation on internet-facing Apache instances and rate-limit abusive source IPs as a stopgap.

Detection

  • Alert on sustained CPU saturation on Apache hosts correlated with a spike in inbound GET requests.
  • Inspect web access logs for GET requests with unusually long or whitespace-heavy headers, where header logging is enabled.
  • Use packet capture or a proxy to flag HTTP requests whose MIME headers contain many lines of repeated space characters.
  • Baseline normal request header sizes and alert on outliers exceeding that baseline.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html
http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html
http://lists.grok.org.uk/pipermail/full-disclosure/2004-November/028248.html
http://marc.info/?l=bugtraq&m=110384374213596&w=2
http://secunia.com/advisories/19072
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102198-1
http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm
http://www.mandriva.com/security/advisories?name=MDKSA-2004:135
http://www.redhat.com/support/errata/RHSA-2004-562.html
http://www.trustix.org/errata/2004/0061/
http://www.vupen.com/english/advisories/2006/0789
http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX01123
https://exchange.xforce.ibmcloud.com/vulnerabilities/17930
https://lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac%40%3Ccvs.httpd.apache.org%
https://lists.apache.org/thread.html/5df9bfb86a3b054bb985a45ff9250b0332c9ecc181eec232489e7f79%40%3Ccvs.httpd.apache.org%
https://lists.apache.org/thread.html/r0276683d8e1e07153fc8642618830ac0ade85b9ae0dc7b07f63bb8fc%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r2cb985de917e7da0848c440535f65a247754db8b2154a10089e4247b%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r5001ecf3d6b2bdd0b732e527654248abb264f08390045d30709a92f6%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r8828e649175df56f1f9e3919938ac7826128525426e2748f0ab62feb%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r9e8622254184645bc963a1d47c5d47f6d5a36d6f080d8d2c43b2b142%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org
https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10962
http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html
http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html
http://lists.grok.org.uk/pipermail/full-disclosure/2004-November/028248.html
http://marc.info/?l=bugtraq&m=110384374213596&w=2
http://secunia.com/advisories/19072
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102198-1
http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm
http://www.mandriva.com/security/advisories?name=MDKSA-2004:135
http://www.redhat.com/support/errata/RHSA-2004-562.html
http://www.trustix.org/errata/2004/0061/
http://www.vupen.com/english/advisories/2006/0789
http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX01123
https://exchange.xforce.ibmcloud.com/vulnerabilities/17930
https://lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac%40%3Ccvs.httpd.apache.org%

Track CVE-2004-0942 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.1CVE-2024-38475Apache HTTP Server mod_rewrite improper escaping enables code executionApache HTTP Server 2.4.59 and earlier has an improper output escaping flaw in mod_rewrite. Substitutions in server context that use a backreference o…KEVEPSS 100%analysed9.0CVE-2021-40438Apache HTTP Server mod_proxy SSRF via crafted URI pathA crafted request URI path can make mod_proxy forward the request to an origin server chosen by the remote user, an SSRF flaw in Apache HTTP Server 2…KEVEPSS 100%analysed7.8CVE-2019-0211Apache HTTP Server scoreboard use-after-free local privilege escalationApache HTTP Server 2.4.17 through 2.4.38 with MPM event, worker or prefork contains a use-after-free in scoreboard handling. Code running in a less-p…KEVEPSS 65%analysed10.0CVE-2010-0425Apache mod_isapi on Windows remote code execution via orphaned callbacksmod_isapi in Apache HTTP Server on Windows does not ensure request processing is complete before calling isapi_unload for an ISAPI .dll module, leavi…EPSS 94%analysed10.0CVE-2005-2700Apache http server vulnerabilityssl_engine_kernel.c in mod_ssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host configuration, does not properly enfor…EPSS 31%10.0CVE-2004-0492Apache http server vulnerabilityHeap-based buffer overflow in proxy_util.c for mod_proxy in Apache 1.3.25 to 1.3.31 allows remote attackers to cause a denial of service (process cra…EPSS 34%

Source: NIST National Vulnerability Database (record CVE-2004-0942), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.