Vulnerabilities

Vulnerability · CVE-2004-0940

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 apac…

Published Feb 9, 2005 · catalog updated Jun 16, 2026 · http server

Last checked Nov 7, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2004-0940. EPSS is 4.83%. Act only if a listed version of http server is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
High7.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
4.83%
Remediation
Version ranges on file
Affected products
cpe apache/http server · cpe hp/hp-ux · cpe openpkg/openpkg

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe apache/http server>= 1.3, <= 1.3.32
  • cpe hp/hp-ux11.00
  • cpe hp/hp-ux11.11
  • cpe openpkg/openpkg2.0
  • cpe openpkg/openpkg2.1
  • cpe openpkg/openpkg2.2

How to fix CVE-2004-0940

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2004-0940. EPSS is 4.83%. Act only if a listed version of http server is installed.

Which versions are affected?

Compare what you have installed with apache/http server >= 1.3, <= 1.3.32. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-131. EPSS 4.83%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 9, 2005 · Monitored products — critical

    Detected

    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.

  2. Jun 16, 2026 · Monitored products — critical

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2004-0940

    Official CVE identifier

    cve.org
  • Monitored products — criticalVendor advisoryCVE-2004-0940

    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.

    nvd.nist.gov

References

Freshness

Last verified in this catalog Nov 7, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • CVE.orgNov 4, 2026
  • Monitored products — criticalNov 4, 2026