CVE-2004-0940: Apache HTTP Server

High severity, CVSS 7.8. EPSS: 4.8% chance of exploitation in the next 30 days.

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.

Affected products

  • Apache HTTP Server: from 1.3, up to and including 1.3.32
  • HP HP-Ux: version 11.00 only; version 11.11 only; version 11.20 only; version 11.22 only
  • Openpkg Openpkg: version 2.0 only; version 2.1 only; version 2.2 only
  • Slackware Slackware Linux: version 8.0 only; version 8.1 only; version 9.0 only; version 9.1 only; version 10.0 only; version current only
  • Suse Suse Linux: version 8.0 only; version 8.1 only; version 8.2 only; version 9.0 only; version 9.1 only; version 9.2 only
  • Trustix Secure Linux: version 1.5 only

Published 2005-02-09. Last modified 2026-06-16.