← Vulnerability feed

Vulnerability record · CVE-2004-0493 · published 6 August 2004

CVE-2004-0493: Apache httpd header parsing flaw causes memory exhaustion and possible heap overflow

Avaya · Converged Communications Server

The ap_get_mime_headers_core function in Apache httpd 2.0.49 mishandles long header lines containing many space or tab characters, causing memory exhaustion. The same input may trigger an integer signedness error leading to a heap-based buffer overflow on 64-bit systems. It matters because a remote, unauthenticated request can degrade or crash the service, with a possible code execution path on 64-bit builds.

6.4 CVSS 2.0 Medium EPSS 85% · top 0.3%
6.4CVSS 2.0 base score
85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
8Affected product versions listed by NVD
48References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

The ap_get_mime_headers_core function in Apache httpd 2.0.49 allows remote attackers to cause a denial of service (memory exhaustion), and possibly an integer signedness error leading to a heap-based buffer overflow on 64 bit systems, via long header lines with large numbers of space or tab characters.

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

Automated analysis

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

high priorityRemote unauthenticated denial of service with a possible heap overflow on 64-bit systems, plus very high EPSS and a public exploit reference, outweigh the dated medium CVSS v2 score.

What it is

The ap_get_mime_headers_core function in Apache httpd 2.0.49 mishandles long header lines containing many space or tab characters, causing memory exhaustion. The same input may trigger an integer signedness error leading to a heap-based buffer overflow on 64-bit systems. It matters because a remote, unauthenticated request can degrade or crash the service, with a possible code execution path on 64-bit builds.

Impact

An attacker can exhaust server memory to cause denial of service, and on 64-bit systems may corrupt the heap, potentially leading to code execution in the httpd process context. No confidentiality impact is stated in the CVSS vector.

Attack surface

Reached remotely over the network by sending HTTP requests with crafted long header lines; the CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.848, 99.7th percentile) and a SecurityFocus reference is tagged Exploit, indicating public exploit activity exists.

What to do

  • Upgrade Apache httpd to a version later than 2.0.49 that contains the fix, or apply the vendor patch referenced in the Apache and distribution advisories.
  • Apply the relevant vendor updates for bundled httpd in Avaya, Gentoo, Trustix, IBM and Mandriva products.
  • Enforce strict request header size limits at the reverse proxy or web server (LimitRequestFieldSize, LimitRequestLine) to cap oversized header lines.
  • Restrict or rate-limit untrusted HTTP traffic to exposed httpd instances to reduce the impact of memory exhaustion attempts.

Detection

  • Monitor httpd memory usage and process restarts for abnormal growth correlated with large or malformed request headers.
  • Alert on requests containing unusually long header lines or long runs of space and tab characters in headers.
  • Review web server and proxy logs for repeated oversized-header requests from single sources.
  • Use network IDS signatures for the known public exploit for this issue.

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

Affected products

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

References

LinkTags
http://lists.grok.org.uk/pipermail/full-disclosure/2004-June/023133.html
http://marc.info/?l=bugtraq&m=108853066800184&w=2
http://marc.info/?l=bugtraq&m=109181600614477&w=2
http://security.gentoo.org/glsa/glsa-200407-03.xml
http://www.apacheweek.com/features/security-20
http://www.guninski.com/httpd1.html
http://www.mandriva.com/security/advisories?name=MDKSA-2004:064
http://www.redhat.com/support/errata/RHSA-2004-342.html
http://www.securityfocus.com/bid/10619 ExploitPatchVendor Advisory
http://www.trustix.org/errata/2004/0039/
https://exchange.xforce.ibmcloud.com/vulnerabilities/16524
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%3A10605
http://lists.grok.org.uk/pipermail/full-disclosure/2004-June/023133.html
http://marc.info/?l=bugtraq&m=108853066800184&w=2
http://marc.info/?l=bugtraq&m=109181600614477&w=2
http://security.gentoo.org/glsa/glsa-200407-03.xml
http://www.apacheweek.com/features/security-20
http://www.guninski.com/httpd1.html
http://www.mandriva.com/security/advisories?name=MDKSA-2004:064
http://www.redhat.com/support/errata/RHSA-2004-342.html
http://www.securityfocus.com/bid/10619 ExploitPatchVendor Advisory
http://www.trustix.org/errata/2004/0039/
https://exchange.xforce.ibmcloud.com/vulnerabilities/16524
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

Track CVE-2004-0493 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-0493), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.