CVE-2026-42536·Apache vulnerability
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.
- Severity
- high
- Software
- Apache
- Fixed in
- 2.4.68
- Published
Affected versions
From: 2.4.0
Until: 2.4.68
Fixed in: 2.4.68
How to fix this CVE
Apache HTTP Server versions 2.4.0 through 2.4.67 contain a heap buffer overflow in the mod_xml2enc module that can be triggered when processing untrusted XML content, leading to denial of service. Immediately upgrade to Apache 2.4.68 or later to eliminate this memory corruption vulnerability. Ensure all systems running Apache with mod_xml2enc enabled are patched without delay.
sudo dnf update httpdDefensia detects this vulnerability
How to check if you are affected
- Run 'apache2ctl -v' or 'httpd -v' to confirm the installed Apache version; vulnerable versions are 2.4.0 through 2.4.67
- Check if mod_xml2enc is loaded by running 'apache2ctl -M | grep xml2enc' or inspect 'mods-enabled/xml2enc.load' in /etc/apache2/
- Search Apache error logs for segmentation faults or memory-related errors using 'grep -i "segfault\|heap\|buffer" /var/log/apache2/error.log*'
- Verify the patch by confirming Apache version is 2.4.68 or higher with 'apache2ctl -v' and reload the service with 'sudo systemctl reload apache2'
FAQ
What is CVE-2026-42536?
CVE-2026-42536 is a heap-based buffer overflow flaw in Apache HTTP Server's mod_xml2enc module that occurs during XML parsing of untrusted input, potentially causing a denial of service condition.
Is CVE-2026-42536 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available.
What versions of Apache are affected by CVE-2026-42536?
Apache HTTP Server versions 2.4.0 through 2.4.67 are vulnerable; version 2.4.68 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-42536?
Run 'apache2ctl -v' to display your version, then verify mod_xml2enc is enabled with 'apache2ctl -M | grep xml2enc'. If the version is between 2.4.0-2.4.67 and mod_xml2enc is loaded, your server is vulnerable.
Does Defensia detect CVE-2026-42536?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Apache is installed on a monitored server, CVE-2026-42536 will appear in your dashboard with remediation steps.
Related Apache CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-42536. Free for 1 server.
Get started free