CVE-2004-0940

HIGHNVD 7.87.8
EchelonGraph scoreMEDIUM confidence

Score 7.8 from GitHub Security Advisory published 2022-04-29. NVD baseline CVSS 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
Weaponized
7.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 5%CVSS: 7.8Exploit: NoneExposed: 0

A fix is available — apply it.

Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.

CVSS v3
7.8
EG Score
7.8(medium)
EPSS
91.0%
KEV
Not listed

Published

February 9, 2005

Last Modified

June 16, 2026

Advisory Details (8)

Auto-updated May 31, 2026
No patch confirmed yet.
generic

[SECURITY] [DSA 594-1] New Apache packages fix arbitrary code execution

http://www.debian.org/security/2004/dsa-594
generic

Apache HTTP Server 1.3 vulnerabilities - The Apache HTTP Server Project

http://www.apacheweek.com/features/security-13
generic

About Secunia Research | Flexera

http://secunia.com/advisories/19073
generic

About Secunia Research | Flexera

http://secunia.com/advisories/12898/
generic

'[OpenPKG-SA-2004.047] OpenPKG Security Advisory (apache)' - MARC

http://marc.info/?l=bugtraq&m=109906660225051&w=2

Patch Availability(3)

Vendor / EcosystemFixed in / PatchReleasedSource
redhatpatch2005-11-02redhat
redhatpatch2004-12-20redhat
redhatpatch2004-12-13redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(3)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 4× in last 7d / 27× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-13 06:07 UTCEPSS rescore
  2. 2026-07-11 08:22 UTCEPSS rescore
  3. 2026-07-11 08:22 UTCEPSS rescore
  4. 2026-07-08 15:09 UTCEPSS rescore
  5. 2026-07-06 02:19 UTCEPSS rescore
  6. 2026-07-04 06:26 UTCEPSS rescore
  7. 2026-07-02 14:00 UTCEPSS rescore
  8. 2026-06-29 14:02 UTCEPSS rescore
  9. 2026-06-29 14:02 UTCEPSS rescore
  10. 2026-06-28 14:02 UTCEPSS rescore
  11. 2026-06-28 04:52 UTCEPSS rescore
  12. 2026-06-27 03:04 UTCEPSS rescore
  13. 2026-06-23 21:29 UTCEPSS rescore
  14. 2026-06-22 14:22 UTCEPSS rescore
  15. 2026-06-21 14:52 UTCEPSS rescore
  16. 2026-06-21 01:56 UTCEPSS rescore
  17. 2026-06-19 19:22 UTCEPSS rescore
  18. 2026-06-19 19:22 UTCEPSS rescore
  19. 2026-06-18 17:49 UTCEPSS rescore
  20. 2026-06-18 17:49 UTCEPSS rescore
  21. 2026-06-17 17:49 UTCEPSS rescore
  22. 2026-06-17 17:49 UTCEPSS rescore
  23. 2026-06-16 17:49 UTCEPSS rescore
  24. 2026-06-16 17:49 UTCEPSS rescore
  25. 2026-06-15 17:43 UTCEPSS rescore
Show 40 more
  1. 2026-06-14 23:13 UTCEPSS rescore
  2. 2026-06-14 23:13 UTCEPSS rescore
  3. 2026-06-13 22:56 UTCEPSS rescore
  4. 2026-06-12 23:08 UTCEPSS rescore
  5. 2026-06-11 13:55 UTCEPSS rescore
  6. 2026-06-10 22:13 UTCEPSS rescore
  7. 2026-06-10 13:17 UTCEPSS rescore
  8. 2026-06-07 15:21 UTCEPSS rescore
  9. 2026-06-06 13:44 UTCEPSS rescore
  10. 2026-06-06 13:44 UTCEPSS rescore
  11. 2026-06-06 13:44 UTCEPSS rescore
  12. 2026-06-05 22:43 UTCEPSS rescore
  13. 2026-06-05 22:43 UTCEPSS rescore
  14. 2026-06-05 06:07 UTCEPSS rescore
  15. 2026-06-04 13:09 UTCEPSS rescore
  16. 2026-06-02 20:10 UTCEPSS rescore
  17. 2026-06-01 13:49 UTCEPSS rescore
  18. 2026-06-01 13:49 UTCEPSS rescore
  19. 2026-05-31 22:28 UTCEPSS rescore
  20. 2026-05-31 14:20 UTCEG score recompute
  21. 2026-05-31 14:20 UTCVendor advisory
  22. 2026-05-31 14:20 UTCGHSA enrichment
  23. 2026-05-31 00:13 UTCEPSS rescore
  24. 2026-05-31 00:13 UTCEPSS rescore
  25. 2026-05-29 13:40 UTCEPSS rescore
  26. 2026-05-29 13:40 UTCEPSS rescore
  27. 2026-05-28 13:42 UTCEPSS rescore
  28. 2026-05-28 13:42 UTCEPSS rescore
  29. 2026-05-28 13:42 UTCEPSS rescore
  30. 2026-05-27 13:37 UTCEPSS rescore
  31. 2026-05-26 13:41 UTCEPSS rescore
  32. 2026-05-26 13:41 UTCEPSS rescore
  33. 2026-05-26 07:16 UTCEPSS rescore
  34. 2026-05-26 07:16 UTCEPSS rescore
  35. 2026-05-24 16:42 UTCEPSS rescore
  36. 2026-05-20 22:36 UTCEPSS rescore
  37. 2026-05-20 11:20 UTCEPSS rescore
  38. 2026-05-20 11:20 UTCEPSS rescore
  39. 2026-05-18 21:29 UTCEPSS rescore
  40. 2026-05-18 21:29 UTCEPSS rescore

Publicly available exploits

(2 references)

Working exploit code is in the public domain (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Exploit-DBEDB-587✓ verified
    First seen Oct 21, 2004

    Apache 1.3.31 mod_include - Local Buffer Overflow

    Open source ↗
  • Exploit-DBEDB-24694✓ verified
    First seen Oct 18, 2004

    Apache 1.3.x mod_include - Local Buffer Overflow

    Open source ↗

Frequently asked(5)

What is CVE-2004-0940?
CVE-2004-0940 is a high vulnerability published on February 9, 2005. Buffer overflow in the gettag function in modinclude for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.
When was CVE-2004-0940 disclosed?
CVE-2004-0940 was first published in the National Vulnerability Database on February 9, 2005, with the most recent update on June 16, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2004-0940 actively exploited?
CVE-2004-0940 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 91.0% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2004-0940?
CVE-2004-0940 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2004-0940?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2004-0940, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2004-0940

Explore →

Is Your Infrastructure Affected by CVE-2004-0940?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.