Skip to main content
EPSS 1.0%top 38%

CVE-2026-42536: CWE-122 Heap-based Buffer Overflow in Apache Software Foundation Apache HTTP Server

0
High
VulnerabilityCVE-2026-42536cvecve-2026-42536cwe-122gcvecwe-120
Published: 06/08/2026 (06/08/2026, 15:23:46 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache HTTP Server

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Apache Software Foundation

Apache HTTP Server

Affected versions
>=2.4.0 <=2.4.67
apache/httpd
pkg:rpm/apache/httpd
Affected versions
>=2.4.0 <2.4.68

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 15:23:04 UTC

Technical Analysis

This vulnerability is a heap-based buffer overflow in the Apache HTTP Server's mod_xml2enc module, specifically in the xml2StartParse function when handling untrusted input. It affects Apache HTTP Server versions from 2.4.0 up to and including 2.4.67. The flaw can be exploited remotely without authentication to cause denial of service by crashing worker processes or potentially to execute arbitrary code within the context of the server process. The vulnerability is tracked as CVE-2026-42536 and is associated with CWE-122 and CWE-120. Red Hat's advisory confirms the impact and provides mitigation steps including disabling the vulnerable module and upgrading to a patched version 2.4.68. The vulnerability does not require user interaction or privileges to exploit and has an unchanged scope. Red Hat has issued security updates for their RHEL products to address this issue.

Potential Impact

The vulnerability allows remote attackers to cause denial of service by crashing Apache HTTP Server worker processes or potentially execute arbitrary code with the privileges of the Apache/httpd daemon. This impacts availability primarily, with a high risk of service disruption. Confidentiality and integrity impacts are considered potential but not confirmed. The vulnerability requires no privileges or user interaction and can be triggered over the network.

Mitigation Recommendations

A fix is available in Apache HTTP Server version 2.4.68. Users should upgrade to this version to remediate the vulnerability. As a temporary mitigation, if the mod_xml2enc module is not essential, it can be disabled by commenting out the LoadModule xml2enc_module directive in the Apache configuration and restarting the service. Note that disabling this module may cause failures in configurations relying on XML encoding features such as mod_proxy_html. Red Hat strongly recommends applying the official patches provided in their security advisories for affected RHEL versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-28T16:06:25.760Z
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-42536","vendor":"Red Hat"}]

Threat ID: 6a26e463e29bf47b501e0dbb

Added to database: 06/08/2026, 15:48:51 UTC

Last enriched: 08/17/2026, 15:23:04 UTC

Last updated: 09/13/2026, 10:01:30 UTC

Views: 196

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses