# CVE-2004-0940

- Priority: **Prioritise**
- Reason: Weaponized exploit (exploit-database, 21-10-2004)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2004-10-26 · Modified: 2024-08-08
- Aliases: DSA-594-1
- Record: https://cvemate.com/vulnerability/CVE-2004-0940 · JSON: https://cvemate.com/vulnerability/CVE-2004-0940/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.83%, percentile 92.231%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, exploit-database)

## Affected

- apache http\_server: ≥ 1.3, ≤ 1.3.32
- debian apache (Debian): \< 1.3.26-0woody6
- hp hp-ux: 11.00 \| 11.11 \| 11.20 \| 11.22
- openpkg openpkg: 2.0 \| 2.1 \| 2.2
- slackware slackware\_linux: 8.0 \| 8.1 \| 9.0 \| 9.1 \| 10.0 \| current
- suse suse\_linux: 8.0 \| 8.1 \| 8.2 \| 9.0 \| 9.1 \| 9.2
- trustix secure\_linux: 1.5

## References (first 20 of 21)

- <http://marc.info/?l=bugtraq&m=109906660225051&w=2>
- <http://www.apacheweek.com/features/security-13>
- <http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm>
- <http://www.mandriva.com/security/advisories?name=MDKSA-2004:134>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/17785>
- <http://www.securityfocus.com/bid/11471>
- <http://www.redhat.com/support/errata/RHSA-2005-816.html>
- <http://secunia.com/advisories/12898/>
- <http://www.debian.org/security/2004/dsa-594>
- <http://secunia.com/advisories/19073>
- <http://securitytracker.com/id?1011783>
- <http://www.redhat.com/support/errata/RHSA-2004-600.html>
- <http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1>
- <http://www.vupen.com/english/advisories/2006/0789>
- <https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E>
- <https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E>
- <https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E>
- <https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E>
- <https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E>
- <https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E>

---

Data as of 2026-12-05T04:07:48.701Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
