cve.bz

CVE-2026-42536 apache http server: Heap-based Buffer Overflow

7.5 highEPSS 1.0%

High (7.5) in apache http server. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-122 Heap-based Buffer Overflow
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42536 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42536?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42536?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42536 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache HTTP Serverfrom 2.4.0 through 2.4.67

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11apache22.4.67-1~deb11u3DLA-4629-1
Debian12apache22.4.68-1~deb12u1DEBIAN-CVE-2026-42536
Debian13apache22.4.68-1~deb13u1DEBIAN-CVE-2026-42536
Debian14apache22.4.68-1DEBIAN-CVE-2026-42536
Ubuntu22.04:LTSapache22.4.52-1ubuntu4.23UBUNTU-CVE-2026-42536 USN-8516-1
Ubuntu24.04:LTSapache22.4.58-1ubuntu8.15UBUNTU-CVE-2026-42536 USN-8516-1
Ubuntu25.10apache2no fix listedUBUNTU-CVE-2026-42536
Ubuntu26.04:LTSapache22.4.66-2ubuntu2.4UBUNTU-CVE-2026-42536 USN-8516-1
UbuntuPro:14.04:LTSapache22.4.7-1ubuntu4.22+esm14UBUNTU-CVE-2026-42536 USN-8571-1
UbuntuPro:16.04:LTSapache22.4.18-2ubuntu3.17+esm19UBUNTU-CVE-2026-42536 USN-8571-1
UbuntuPro:18.04:LTSapache22.4.29-1ubuntu4.27+esm10UBUNTU-CVE-2026-42536 USN-8571-1
UbuntuPro:20.04:LTSapache22.4.41-4ubuntu3.23+esm5UBUNTU-CVE-2026-42536 USN-8571-1
Red Hatenterprise_linux:8::appstreamhttpd, mod_ldap, httpd-devel and 9 more0:2.4.37-65.module+el8.10.0+24521+219dcfc5.9RHSA-2026:42828
Red Hatenterprise_linux:8::appstreammod_http2, mod_http2-debuginfo, mod_http2-debugsource0:1.15.7-10.module+el8.10.0+24521+219dcfc5.7RHSA-2026:42828
Red Hatenterprise_linux:8::appstreammod_md, mod_md-debuginfo, mod_md-debugsource1:2.0.8-8.module+el8.10.0+23815+1b5e1c66.2RHSA-2026:42828
Red Hatenterprise_linux:8::appstreammod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.37-65.module+el8.10.0+24521+219dcfc5.9RHSA-2026:42828
Red Hatenterprise_linux:9::appstreamhttpd, mod_lua, mod_ldap and 13 more0:2.4.62-13.el9_8.5RHSA-2026:41906
Red Hatenterprise_linux:9::appstreammod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.62-13.el9_8.5RHSA-2026:41906
Red Hatenterprise_linux:10.2httpd, mod_lua, mod_ldap and 13 more0:2.4.63-13.el10_2.4RHSA-2026:34109
Red Hatenterprise_linux:10.2mod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.63-13.el10_2.4RHSA-2026:34109
Red Hatenterprise_linux_eus:10.0httpd, mod_lua, mod_ldap and 13 more0:2.4.63-1.el10_0.4RHSA-2026:47046
Red Hatenterprise_linux_eus:10.0mod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.63-1.el10_0.4RHSA-2026:47046
Red Hathummingbird:1httpd, httpd-core, httpd-devel and 3 more0:2.4.68-1.hum1RHSA-2026:25042
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.62-16.el8jbcsRHSA-2026:56868
22 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moreapache22.4.66-150400.6.57.1SUSE-SU-2026:2686-1
SUSELinux Enterprise Module for Basesystem 15 SP7apache2, apache2-prefork2.4.66-150700.4.23.1SUSE-SU-2026:2759-1
SUSELinux Enterprise Module for Package Hub 15 SP7apache2-event2.4.66-150700.4.23.1SUSE-SU-2026:2759-1
SUSELinux Enterprise Module for Server Applications 15 SP7apache2-devel, apache2-utils, apache2-manual and 1 more2.4.66-150700.4.23.1SUSE-SU-2026:2759-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5apache2, apache2-tls132.4.66-35.81.1SUSE-SU-2026:2717-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6apache2, apache2-devel, apache2-utils and 3 more2.4.66-150600.5.55.1SUSE-SU-2026:2735-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0apache2, apache2-devel, apache2-event and 4 more2.4.66-160000.3.1SUSE-SU-2026:22564-1
openSUSELeap 16.0apache2, apache2-devel, apache2-event and 4 more2.4.66-160000.3.1openSUSE-SU-2026:21235-1
openSUSETumbleweedapache22.4.71-1.1openSUSE-SU-2026:12537-1
AlmaLinux8httpd, mod_ldap, httpd-devel and 3 more2.4.37-65.module_el8.10.0+4233+8b7d9181.9ALSA-2026:42828
AlmaLinux8mod_http21.15.7-10.module_el8.10.0+4233+8b7d9181.7ALSA-2026:42828
AlmaLinux8mod_md1:2.0.8-8.module_el8.10.0+4088+57f011c1.2ALSA-2026:42828
AlmaLinux8mod_ssl, mod_proxy_html1:2.4.37-65.module_el8.10.0+4233+8b7d9181.9ALSA-2026:42828
AlmaLinux9httpd, mod_lua, mod_ldap and 6 more2.4.62-13.el9_8.5ALSA-2026:41906
AlmaLinux9mod_ssl, mod_proxy_html1:2.4.62-13.el9_8.5ALSA-2026:41906
AlmaLinux10httpd-manual, httpd-filesystem2.4.63-13.el10_2.4ALSA-2026:34109
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+1830+22f0c9e0RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+1840+b070a976.1RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+1842+4a9649e8.2RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+1938+3b7755d4.3RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+1984+1bed3124.4RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+2061+8d03fdec.5RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+40045+6ce8579b.6RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+40053+5a18018e.7RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+40197+0231e209.8RLSA-2026:42828
Rocky Linux8httpd0:2.4.37-65.module+el8.10.0+40206+be2c8a50.8RLSA-2026:42828
Rocky Linux8mod_http20:1.15.7-10.module+el8.10.0+1775+6b057638RLSA-2026:42828
Rocky Linux8mod_http20:1.15.7-10.module+el8.10.0+1830+22f0c9e0RLSA-2026:42828
9 more for Rocky Linux in the JSON.
Alpinev3.21, v3.22, v3.23 and 1 moreapache22.4.68-r0ALPINE-CVE-2026-42536
Azure Linux3httpd2.4.68-1AZL-89726
Alpaquita23, 25, streamapache22.4.68-r0BELL-CVE-2026-42536

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

In Red Hat Enterprise Linux (RHEL), the httpd package includes mod_xml2enc, which provides encoding support for filters like mod_proxy_html. Because this flaw relies on processing unvetted or untrusted input text lengths, the impact presents a high risk to availability (Denial of Service via worker crashes) and a potential risk to confidentiality if an attacker is capable of executing remote code within the context of the apache or httpd daemon process.

Red Hat's mitigation

To mitigate this vulnerability, disable the `mod_xml2enc` module if its functionality for XML internationalization is not essential. This can be done by commenting out the `LoadModule xml2enc_module modules/mod_xml2enc.so` directive in the Apache HTTP Server configuration. A service restart is required for the change to take effect.

```bash

# Edit the Apache configuration file, e.g., /etc/httpd/conf.modules.d/00-base.conf

# Comment out the line:

# LoadModule xml2enc_module modules/mod_xml2enc.so

# Reload the httpd service

sudo systemctl reload httpd

```

*Note: Disabling `mod_xml2enc` will cause any configurations relying heavily on `mod_proxy_html` or raw HTML/XML encoding conversions to function incorrectly or fail. Red Hat strongly recommends upgrading to a patched version of `httpd` as soon as it becomes available for your specific RHEL channel.*

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.62-16.el8jbcsFixed 2026-08-19RHSA-2026:56868
Red Hat Enterprise Linux 10httpd-0:2.4.63-13.el10_2.4Fixed 2026-07-01RHSA-2026:34109
Red Hat Enterprise Linux 10.0 Extended Update Supporthttpd-0:2.4.63-1.el10_0.4Fixed 2026-07-28RHSA-2026:47046
Red Hat Enterprise Linux 7 Extended Lifecycle Supporthttpd-0:2.4.6-99.el7_9.8Fixed 2026-10-29RHSA-2026:92590
Red Hat Enterprise Linux 8httpd:2.4-8100020260714175253.489197e6Fixed 2026-07-21RHSA-2026:42828
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicehttpd:2.4-8080020260817124920.63b34585Fixed 2026-11-11RHSA-2026:98130
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionshttpd:2.4-8080020260817124920.63b34585Fixed 2026-11-11RHSA-2026:98130
Red Hat Enterprise Linux 9httpd-0:2.4.62-13.el9_8.5Fixed 2026-07-20RHSA-2026:41906
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionshttpd-0:2.4.53-11.el9_2.15Fixed 2026-09-14RHSA-2026:67152
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionshttpd-0:2.4.57-11.el9_4.5Fixed 2026-09-10RHSA-2026:66323
Red Hat Enterprise Linux 9.6 Extended Update Supporthttpd-0:2.4.62-4.el9_6.6Fixed 2026-09-01RHSA-2026:62165
Red Hat JBoss Core Services 2.4.62.SP5jbcs-httpd24-httpdFixed 2026-08-19RHSA-2026:56869
Red Hat Hardened Imageshttpd-main-2.4.68-1.hum1Fixed 2026-06-10RHSA-2026:25042
Red Hat Insights proxy 1.5insights-proxy/insights-proxy-container-rhel9:1786433656Fixed 2026-08-11RHSA-2026:53371
Red Hat Enterprise Linux 6httpdAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42536.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • erberkan/CVE-2026-42536-PoC Harbor Check: matches CVE 6 stars, Python, created
    Heap-based Buffer Overflow vulnerability in Apache HTTP Server with mod_xml2enc, xml2StartParse, and untrusted content

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON