CVE-2026-42536

Apache HTTP Server: mod_xml2enc heap overflow

Published Jun 8, 2026 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
Description
Heap-based Buffer Overflow vulnerability in Apache HTTP Server with mod_xml2enc, xml2StartParse, and untrusted content

This issue affects Apache HTTP Server: from 2.4.0 through 2.4.67.

Users are recommended to upgrade to version 2.4.68, which fixes the issue.

Analysis

AI-generated

Technical impact

A heap-based buffer overflow occurs when Apache HTTP Server processes untrusted XML content through mod_xml2enc, specifically during the xml2StartParse function. The vulnerability could allow an attacker to manipulate allocated memory on the heap, potentially leading to application crashes or the execution of arbitrary code. The unsafe handling of untrusted XML data enables the attacker to trigger the overflow during normal HTTP request processing, making the flaw exploitable remotely.

Affected Systems

The flaw affects Apache HTTP Server versions 2.4.0 through 2.4.67 released by the Apache Software Foundation. Users running any of these builds are at risk until they upgrade to a version that contains the fix.

Risk and Exploitability

The vulnerability is a classic heap buffer overflow (CWE-120 and CWE-122). The EPSS score is 1%, indicating a very low but nonzero exploitation probability. The flaw is not listed in CISA KEV. The CVSS base score is 7.5, indicating a high severity and potential for remote exploitation. The attack vector is inferred to be remote, via crafted XML sent over HTTP to the vulnerable server. An attacker could likely cause a crash or hijack execution if the exploit succeeds.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch by upgrading Apache HTTP Server to version 2.4.68 or later
  • If upgrading immediately is not possible, configure the server to drop or reject XML requests sent to mod_xml2enc to limit exposure
  • Continuously monitor server logs and network traffic for abnormal XML payloads and signs of exploitation attempts

Generated by OpenCVE AI on October 25, 2026 at 18:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4629-1 apache2 security update
Ubuntu USN Ubuntu USN USN-8516-1 Apache HTTP Server vulnerabilities
Ubuntu USN Ubuntu USN USN-8571-1 Apache HTTP Server vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache http Server
Vendors & Products Apache
Apache http Server
Type Values Removed Values Added
Description Heap-based Buffer Overflow vulnerability in Apache HTTP Server with mod_xml2enc, xml2StartParse, and untrusted content This issue affects Apache HTTP Server: from 2.4.0 through 2.4.67. Users are recommended to upgrade to version 2.4.68, which fixes the issue.
Title Apache HTTP Server: mod_xml2enc heap overflow
Weaknesses CWE-122
References
Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 14, 2026, 12:04 PM
Reserved
Apr 28, 2026, 4:06 PM
Status
Modified
Published
Jun 8, 2026, 4:16 PM
Modified
Sep 14, 2026, 1:18 PM
Severity
Important
Public date
Jun 8, 2026, 3:23 PM