VYPR
Unrated severityNVD Advisory· Published Jun 8, 2026

CVE-2026-29167

CVE-2026-29167

Description

Apache HTTP Server's mod_ldap module has a use-after-free vulnerability in per-directory configurations, affecting versions 2.4.0 through 2.4.67.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Apache HTTP Server's mod_ldap module has a use-after-free vulnerability in per-directory configurations, affecting versions 2.4.0 through 2.4.67.

Vulnerability

A use-after-free vulnerability exists in the mod_ldap module of Apache HTTP Server when used in per-directory configurations. This issue affects Apache HTTP Server versions from 2.4.0 through 2.4.67 [1].

Exploitation

An attacker could exploit this vulnerability by triggering a specific code path within the mod_ldap module related to per-directory configurations. The exact conditions and steps required for exploitation are not detailed in the available references, but it likely involves manipulating requests that interact with the LDAP configuration [1].

Impact

Successful exploitation of this use-after-free vulnerability could lead to a crash of the Apache HTTP Server process, potentially resulting in a denial-of-service condition. In some use-after-free scenarios, it may also be possible for an attacker to achieve arbitrary code execution, though this is not explicitly stated in the provided references [1].

Mitigation

Users are recommended to upgrade to Apache HTTP Server version 2.4.68, which was released on 2026-06-08 and includes a fix for this vulnerability [1].

AI Insight generated on Jun 8, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

1
35c6e405390e

cookie reqest header counting (#324)

https://github.com/icing/mod_h2Stefan EissingMay 27, 2026via body-scan
1 file changed · +4 0
  • mod_http2/h2_util.c+4 0 modified
    @@ -1708,6 +1708,8 @@ static apr_status_t req_add_header(apr_table_t *headers, apr_pool_t *pool,
                  && !ap_cstr_casecmpn("cookie", (const char *)nv->name, nv->namelen)) {
             existing = apr_table_get(headers, "cookie");
             if (existing) {
    +            if (!nv->valuelen)
    +                return APR_SUCCESS;
                 /* Cookie header come separately in HTTP/2, but need
                  * to be merged by "; " (instead of default ", ")
                  */
    @@ -1719,6 +1721,8 @@ static apr_status_t req_add_header(apr_table_t *headers, apr_pool_t *pool,
                 apr_table_setn(headers, "Cookie",
                                apr_psprintf(pool, "%s; %.*s", existing,
                                             (int)nv->valuelen, nv->value));
    +            /* Treat the merge as an "add" to not escape LimitRequestFields */
    +            *pwas_added = 1;
                 return APR_SUCCESS;
             }
         }
    

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

1

News mentions

1