httpd/httpd-2.4.62-CVE-2026-42536.patch
Luboš Uhliarik dac09acc90 Resolves: RHEL-192753 - mod_proxy_html regression in CVE-2026-34355 fix
Resolves: RHEL-186226 - httpd: Apache HTTP Server: Heap-based Buffer Overflow
  via malicious backend servers (CVE-2026-34356)
Resolves: RHEL-182580 - httpd: incomplete fix
  for CVE-2023-38709 (CVE-2024-42516)
Resolves: RHEL-186187 - httpd: mod_proxy_html buffer handling
  vulnerability (CVE-2026-34355)
Resolves: RHEL-175632 - httpd: mod_dav_lock uses wrong lock discovery
  (CVE-2026-29169)
Resolves: RHEL-186189 - mod_xml2enc: fix bblen accounting in fix_skipto
  (CVE-2026-42536)
Resolves: RHEL-186156 - httpd: fix OCSP write buffer advancement
  bug in mod_ssl (CVE-2026-44185)
Resolves: RHEL-191249 - httpd: Apache HTTP Server: Out-of-bounds Read in
  mod_headers and mod_mime (CVE-2026-43951)
Resolves: RHEL-193128 - httpd: Apache HTTP Server: Denial of Service in
  mod_proxy_ftp via attacker-controlled FTP server (CVE-2026-44186)
Also addresses CVE-2026-24072, CVE-2026-33006, CVE-2026-42535, CVE-2026-44119
2026-08-18 14:50:38 +02:00

26 lines
991 B
Diff

From 18ea328f7e43d4c464ed51c97b5f45f59a89778b Mon Sep 17 00:00:00 2001
From: Joe Orton <jorton@apache.org>
Date: Thu, 4 Jun 2026 08:46:03 +0000
Subject: [PATCH] * modules/filters/mod_xml2enc.c (fix_skipto): Fix accounting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934970 13f79535-47bb-0310-9956-ffa450edef68
---
modules/filters/mod_xml2enc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/filters/mod_xml2enc.c b/modules/filters/mod_xml2enc.c
index eb05c183a0..20862bb24a 100644
--- a/modules/filters/mod_xml2enc.c
+++ b/modules/filters/mod_xml2enc.c
@@ -164,6 +164,7 @@ static void fix_skipto(request_rec* r, xml2ctx* ctx)
apr_bucket_delete(b);
}
ctx->bytes -= (p-ctx->buf);
+ ctx->bblen -= (p-ctx->buf);
ctx->buf = p ;
found = 1;
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01428)
--
2.52.0