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
17 lines
812 B
Diff
17 lines
812 B
Diff
diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c
|
|
index 732fb8e..ef24122 100644
|
|
--- a/modules/http/http_filters.c
|
|
+++ b/modules/http/http_filters.c
|
|
@@ -1381,10 +1381,10 @@ static void merge_response_headers(request_rec *r, const char **protocol)
|
|
if (!apr_is_empty_array(r->content_languages)) {
|
|
int i;
|
|
char *token;
|
|
- char **languages = (char **)(r->content_languages->elts);
|
|
const char *field = apr_table_get(r->headers_out, "Content-Language");
|
|
|
|
while (field && (token = ap_get_list_item(r->pool, &field)) != NULL) {
|
|
+ char **languages = (char **)(r->content_languages->elts);
|
|
for (i = 0; i < r->content_languages->nelts; ++i) {
|
|
if (!ap_cstr_casecmp(token, languages[i]))
|
|
break;
|