OESA-2026-3012

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3012
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3012.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-3012
Upstream
  • CVE-2026-54789
Published
2026-07-19T03:47:43Z
Modified
2026-07-19T04:00:14.260100627Z
Summary
mod_auth_openidc security update
Details

This module enables an Apache 2.x web server to operate as an OpenID Connect Relying Party(RP) to an OpenID Connect Provider(OP).

Security Fix(es):

An out-of-bounds read and a one-byte out-of-bounds write exist in the state-cookie parser of mod_auth_openidc. oidc_state_cookies_parse_token() (src/state.c) scans a cookie token for the = that separates the cookie name from its value with a loop whose only real termination condition is finding a = byte — it does not stop at the string terminator. The cookie != NULL test can never become false, because cookie is only ever incremented (never reassigned to NULL). A request whose Cookie header contains a token that begins with the configured state-cookie prefix (default mod_auth_openidc_state_) but contains no = makes the loop walk past the end of the token buffer, reading adjacent process memory until it happens to encounter a = (0x3D) byte, and then writing a NUL byte at that out-of-bounds location. This parser runs early on requests that begin a new authentication flow and on requests to the OIDCRedirectURI callback — before any session or state validation — so the condition is reachable by an unauthenticated, remote client that fully controls the Cookie header.(CVE-2026-54789)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:24.03-LTS-SP4 / mod_auth_openidc

Package

Name
mod_auth_openidc
Purl
pkg:rpm/openEuler/mod_auth_openidc&distro=openEuler-24.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.19.4-1.oe2403sp4

Ecosystem specific

{
    "aarch64": [
        "mod_auth_openidc-2.4.19.4-1.oe2403sp4.aarch64.rpm",
        "mod_auth_openidc-debuginfo-2.4.19.4-1.oe2403sp4.aarch64.rpm",
        "mod_auth_openidc-debugsource-2.4.19.4-1.oe2403sp4.aarch64.rpm"
    ],
    "src": [
        "mod_auth_openidc-2.4.19.4-1.oe2403sp4.src.rpm"
    ],
    "x86_64": [
        "mod_auth_openidc-2.4.19.4-1.oe2403sp4.x86_64.rpm",
        "mod_auth_openidc-debuginfo-2.4.19.4-1.oe2403sp4.x86_64.rpm",
        "mod_auth_openidc-debugsource-2.4.19.4-1.oe2403sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3012.json"