Description
mod_auth_openidc is an OpenID Certified authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. Prior to 2.4.19.4, an out-of-bounds read and a one-byte out-of-bounds write exist in the state-cookie parser of `mod_auth_openidc`. The issue is fixed in version 2.4.19.4 by stopping the scan at the string terminator so a value-less token is rejected. No in-product workarounds are available. As a stop-gap, an upstream reverse proxy or WAF that rejects or normalizes malformed `Cookie` headers (tokens lacking `=`) can reduce exposure, but upgrading is the recommended remediation.
Published: 2026-08-21
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

mod_auth_openidc implements OpenID Connect Relying Party functionality for Apache 2.x. Prior to version 2.4.19.4 the parser that extracts the state token from incoming Cookie headers lacks bounds checking. The code performs an out‑of‑bounds read and a one‑byte out‑of‑bounds write when it encounters a token without an equals sign. This memory corruption can enable an attacker to craft a malicious Cookie header that results in arbitrary code execution or a denial of service on the server.

Affected Systems

Any deployment running OpenIDC mod_auth_openidc before version 2.4.19.4 on an Apache HTTP server is affected. The vulnerability resides in the state‑cookie parsing routine of the module and applies to all supported Apache 2.x releases that include this module.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity. No EPSS score is publicly available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the flaw by sending a specially crafted Cookie header containing a token without an equals sign. This can lead to memory corruption that may allow execution of arbitrary code or a crash of the Apache process. Because the flaw exists in the authentication module, an attacker could potentially bypass authentication or gain full control of the web server if they succeed with an exploit.

Generated by OpenCVE AI on August 21, 2026 at 17:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenIDC mod_auth_openidc to version 2.4.19.4 or later.
  • Deploy a reverse proxy or WAF that rejects or normalizes malformed Cookie headers, such as tokens lacking '='.
  • Configure Apache to reject malformed Cookie headers or use mod_security rules to enforce valid Cookie syntax.

Generated by OpenCVE AI on August 21, 2026 at 17:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 21 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Openidc
Openidc mod Auth Openidc
Vendors & Products Openidc
Openidc mod Auth Openidc

Fri, 21 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Description mod_auth_openidc is an OpenID Certified authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. Prior to 2.4.19.4, an out-of-bounds read and a one-byte out-of-bounds write exist in the state-cookie parser of `mod_auth_openidc`. The issue is fixed in version 2.4.19.4 by stopping the scan at the string terminator so a value-less token is rejected. No in-product workarounds are available. As a stop-gap, an upstream reverse proxy or WAF that rejects or normalizes malformed `Cookie` headers (tokens lacking `=`) can reduce exposure, but upgrading is the recommended remediation.
Title mod_auth_openidc has out-of-bounds read and write in state cookie parsing
Weaknesses CWE-125
CWE-787
References
Metrics cvssV3_1

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


Subscriptions

Openidc Mod Auth Openidc
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T17:24:15.943Z

Reserved: 2026-06-15T23:23:57.714Z

Link: CVE-2026-54789

cve-icon Vulnrichment

Updated: 2026-08-21T17:23:38.049Z

cve-icon NVD

Status : Received

Published: 2026-08-21T16:17:19.000

Modified: 2026-08-21T18:16:48.680

Link: CVE-2026-54789

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T17:45:03Z

Weaknesses