Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-42536: Heap-based buffer overflow in Apache HTTP Server mod_xml2enc

Published Jun 8, 2026 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days13 mentions · peak 4 in a dayToday
CVSS7.5High · v3.1
EPSS1.0%64th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Apache Software Foundation
IdentifiersCVE-2026-42536CWE-122 · Heap-based Buffer Overflow

CVE-2026-42536 is a heap-based buffer overflow in the mod_xml2enc module of Apache HTTP Server versions 2.4.0 through 2.4.67. The vulnerability occurs when xml2StartParse processes untrusted content, allowing attacker-influenced input to trigger heap memory corruption. Specific consequences beyond the buffer overflow have not been established. Apache HTTP Server 2.4.68 fixes the issue.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Processing attacker-controlled content can trigger a heap-based buffer overflow in the Apache HTTP Server process. Specific availability, confidentiality, and integrity impacts, including whether arbitrary code execution is possible, are currently not established.

Mitigation

If you can’t patch tonight, do this now.

Until the fix is deployed, prevent mod_xml2enc from processing untrusted content. Disable the module where it is not required, or restrict the content sources and input paths that reach its parsing functionality.

Remediation

Patch, then assume compromise.

Upgrade Apache HTTP Server to version 2.4.68 or a later supported release. For distribution-maintained or embedded installations, apply the vendor security update containing the backported fix; a corrected package may retain an upstream version number below 2.4.68.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
CVE-2026-42536-PoCThis three-file repository contains a standalone Python proof of concept for CVE-2026-42536, described as a heap-based out-of-bounds write in Apache HTTP Server's mod_xml2enc module. The executable entry point, poc.py, launches a threaded attacker-controlled HTTP payload server, then makes up to ten configurable HTTP requests (three by default) to a vulnerable Apache front end. Its only source code is Python; README.md supplies the vulnerable proxy/filter topology and verification guidance, and .gitattributes only configures line-ending normalization. The payload backend returns a Windows-1252 HTML response with a configurable skipped prefix and a long sequence of byte 0x80. Under xml2StartParse html, the affected module advances its internal buffer pointer past the prefix but allegedly retains the original capacity. CP1252-to-UTF-8 expansion of 0x80 then causes a write beyond the actual remaining allocation. The intended observable result is a crashed Apache child worker and repeatable denial of service, rather than code execution. The script has basic safety controls: it defaults both target and backend binding to loopback and refuses non-loopback addresses unless --allow-remote is explicitly supplied. Parameters allow customization of front-end host/port/path, backend bind/port, prefix size, expansion length, attempts, and timeout. The README states that Apache 2.4.68 corrects the capacity accounting and should serve as a negative control.erberkan · Disclosed Sep 13, 2026 · python · markdown · web · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationApache HTTP Serverapplication
FAQ

Frequently asked questions

Is CVE-2026-42536 exploited in the wild?
As of Nov 20, 2026, Mallory has no reports of CVE-2026-42536 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-42536?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-42536, the earliest disclosed Sep 13, 2026.
Is there a patch for CVE-2026-42536?
Upgrade Apache HTTP Server to version 2.4.68 or a later supported release. For distribution-maintained or embedded installations, apply the vendor security update containing the backported fix; a corrected package may retain an upstream version number below 2.4.68.
What products are affected by CVE-2026-42536?
Apache Software Foundation Apache HTTP Server.
How severe is CVE-2026-42536?
CVE-2026-42536 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.0% (64th percentile) as of Nov 20, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity9Community discussion across Reddit, Mastodon, and other social sources.