CVE-2026-29167

Apache HTTP Server: mod_ldap per-dir use-after-free

Published Jun 8, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Use After Free vulnerability in Apache HTTP Server with mod_ldap in per-directory configuration

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.

Analysis

AI-generated

Technical impact

The vulnerability is a use‑after‑free flaw in the Apache HTTP Server mod_ldap module that is triggered by per‑directory configuration. The flaw may allow an attacker to trigger memory corruption during LDAP processing, which could result in arbitrary code execution or cause a denial of service. The weakness is identified as CWE‑416. The CVSS score is 9.8.

Affected Systems

Apache HTTP Server supplied by the Apache Software Foundation is affected from version 2.4.0 up to and including 2.4.67. Any installation using the mod_ldap module in per‑directory contexts within that version range is vulnerable.

Risk and Exploitability

EPSS score is < 1%, indicating a low probability of exploitation, but exposure is still uncertain because the vulnerability is not listed in the CISA KEV catalog. Because the flaw is a use‑after‑free in mod_ldap, an attacker would need to craft a request that triggers the module in a per‑directory context; successful exploitation could allow arbitrary code execution on the web server with the privileges of the HTTPd process. The CVSS score of 9.8 reflects a high severity risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache HTTP Server to version 2.4.68 or later to eliminate the vulnerability.
  • If an upgrade cannot be performed immediately, remove or disable the mod_ldap module from the server configuration to eliminate the attack surface.
  • Review all per‑directory LDAP configuration directives and restrict them to trusted contexts, or remove them entirely, to reduce risk.

Generated by OpenCVE AI on June 9, 2026 at 14:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4629-1 apache2 security update
Ubuntu USN Ubuntu USN USN-8516-1 Apache HTTP Server vulnerabilities
Ubuntu USN Ubuntu USN USN-8589-1 Apache HTTP Server vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache http Server
Vendors & Products Apache
Apache http Server
Type Values Removed Values Added
Description Use After Free vulnerability in Apache HTTP Server with mod_ldap in per-directory configuration 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.
Title Apache HTTP Server: mod_ldap per-dir use-after-free
Weaknesses CWE-416
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jun 9, 2026, 12:31 PM
Reserved
Mar 4, 2026, 11:47 AM
Status
Analyzed
Published
Jun 8, 2026, 4:16 PM
Modified
Jul 23, 2026, 7:10 AM