{"cve":{"cve_id":"CVE-2004-0940","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.0483,"epss_percentile":0.90836,"epss_as_of":"2026-06-23","description":"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.","published_at":"2004-10-26T04:00:00Z","last_modified_at":"2026-06-16T22:06:42.493000Z","cvss_v3_score":7.8,"cvss_v3_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":null,"ssvc_automatable":null,"ssvc_technical_impact":null,"cwes":["CWE-131"],"nvd_references":["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","https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E"],"vuln_status":"Modified","trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-28T23:02:42.232155Z"},"effective_severity":"HIGH","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"L","value_label":"Local"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"L","value_label":"Low"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"apache","vendor_name":"apache","product_slug":"http-server","product_name":"http_server","version_start":"1.3","version_start_inclusive":true,"version_end":"1.3.32","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*"},{"vendor_slug":"hp","vendor_name":"HP","product_slug":"hp-ux","product_name":"hp-ux","version_start":"11.22","version_start_inclusive":true,"version_end":"11.22","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:hp:hp-ux:11.22:*:*:*:*:*:*:*"},{"vendor_slug":"hp","vendor_name":"HP","product_slug":"hp-ux","product_name":"hp-ux","version_start":"11.00","version_start_inclusive":true,"version_end":"11.00","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:hp:hp-ux:11.00:*:*:*:*:*:*:*"},{"vendor_slug":"hp","vendor_name":"HP","product_slug":"hp-ux","product_name":"hp-ux","version_start":"11.11","version_start_inclusive":true,"version_end":"11.11","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:hp:hp-ux:11.11:*:*:*:*:*:*:*"},{"vendor_slug":"hp","vendor_name":"HP","product_slug":"hp-ux","product_name":"hp-ux","version_start":"11.20","version_start_inclusive":true,"version_end":"11.20","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:hp:hp-ux:11.20:*:*:*:*:*:*:*"},{"vendor_slug":"openpkg","vendor_name":"openpkg","product_slug":"openpkg","product_name":"openpkg","version_start":"2.1","version_start_inclusive":true,"version_end":"2.1","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:*"},{"vendor_slug":"openpkg","vendor_name":"openpkg","product_slug":"openpkg","product_name":"openpkg","version_start":"2.2","version_start_inclusive":true,"version_end":"2.2","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:openpkg:openpkg:2.2:*:*:*:*:*:*:*"},{"vendor_slug":"openpkg","vendor_name":"openpkg","product_slug":"openpkg","product_name":"openpkg","version_start":"2.0","version_start_inclusive":true,"version_end":"2.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:*"},{"vendor_slug":"slackware","vendor_name":"slackware","product_slug":"slackware-linux","product_name":"slackware_linux","version_start":"9.0","version_start_inclusive":true,"version_end":"9.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:slackware:slackware_linux:9.0:*:*:*:*:*:*:*"},{"vendor_slug":"slackware","vendor_name":"slackware","product_slug":"slackware-linux","product_name":"slackware_linux","version_start":"8.0","version_start_inclusive":true,"version_end":"8.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:slackware:slackware_linux:8.0:*:*:*:*:*:*:*"},{"vendor_slug":"slackware","vendor_name":"slackware","product_slug":"slackware-linux","product_name":"slackware_linux","version_start":"8.1","version_start_inclusive":true,"version_end":"8.1","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:slackware:slackware_linux:8.1:*:*:*:*:*:*:*"},{"vendor_slug":"slackware","vendor_name":"slackware","product_slug":"slackware-linux","product_name":"slackware_linux","version_start":"9.1","version_start_inclusive":true,"version_end":"9.1","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:slackware:slackware_linux:9.1:*:*:*:*:*:*:*"},{"vendor_slug":"slackware","vendor_name":"slackware","product_slug":"slackware-linux","product_name":"slackware_linux","version_start":"10.0","version_start_inclusive":true,"version_end":"10.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:slackware:slackware_linux:10.0:*:*:*:*:*:*:*"},{"vendor_slug":"slackware","vendor_name":"slackware","product_slug":"slackware-linux","product_name":"slackware_linux","version_start":"current","version_start_inclusive":true,"version_end":"current","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:slackware:slackware_linux:current:*:*:*:*:*:*:*"},{"vendor_slug":"suse","vendor_name":"SUSE","product_slug":"suse-linux","product_name":"suse_linux","version_start":"8.0","version_start_inclusive":true,"version_end":"8.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:suse:suse_linux:8.0:*:*:*:*:*:*:*"},{"vendor_slug":"suse","vendor_name":"SUSE","product_slug":"suse-linux","product_name":"suse_linux","version_start":"8.1","version_start_inclusive":true,"version_end":"8.1","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:*"},{"vendor_slug":"suse","vendor_name":"SUSE","product_slug":"suse-linux","product_name":"suse_linux","version_start":"8.2","version_start_inclusive":true,"version_end":"8.2","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:*"},{"vendor_slug":"suse","vendor_name":"SUSE","product_slug":"suse-linux","product_name":"suse_linux","version_start":"9.0","version_start_inclusive":true,"version_end":"9.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:*"},{"vendor_slug":"suse","vendor_name":"SUSE","product_slug":"suse-linux","product_name":"suse_linux","version_start":"9.1","version_start_inclusive":true,"version_end":"9.1","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:*"},{"vendor_slug":"suse","vendor_name":"SUSE","product_slug":"suse-linux","product_name":"suse_linux","version_start":"9.2","version_start_inclusive":true,"version_end":"9.2","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:suse:suse_linux:9.2:*:*:*:*:*:*:*"},{"vendor_slug":"trustix","vendor_name":"trustix","product_slug":"secure-linux","product_name":"secure_linux","version_start":"1.5","version_start_inclusive":true,"version_end":"1.5","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*"}],"exploit_refs":[],"news":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=109906660225051&w=2","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"http://www.apacheweek.com/features/security-13","source_type":"MISC","tags":[]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm","source_type":"MISC","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:134","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17785","source_type":"MISC","tags":[]},{"url":"http://www.securityfocus.com/bid/11471","source_type":"MISC","tags":[]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","source_type":"MISC","tags":[]},{"url":"http://secunia.com/advisories/12898/","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"http://www.debian.org/security/2004/dsa-594","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"http://secunia.com/advisories/19073","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"http://securitytracker.com/id?1011783","source_type":"MISC","tags":[]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-600.html","source_type":"MISC","tags":[]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1","source_type":"MISC","tags":[]},{"url":"http://www.vupen.com/english/advisories/2006/0789","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E","source_type":"MAILING_LIST","tags":["mailing-list"]}],"timeline":[{"type":"published","at":"2004-10-26T04:00:00Z","label":"CVE published","source":null},{"type":"cvss_changed","at":"2026-06-24T00:40:01.911046Z","label":"CVSS score revised","source":"nvd"},{"type":"cvss_changed","at":"2026-06-24T00:40:01.911046Z","label":"CVSS score revised","source":"nvd"},{"type":"cvss_changed","at":"2026-06-24T00:40:01.911046Z","label":"CVSS score revised","source":"nvd"}]}