p PatchFirst

CVE-2026-54789

CVE-2026-54789 · mod_auth_openidc has out-of-bounds read and write in state cookie parsing

CVSS 7.5 · High · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libapache2-mod-auth-openidc"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Fixes in distributions

  • RHSA-2026:97861 · Red Hat Enterprise Linux 9 appstream ·
  • RLSA-2026:97861 · Rocky Linux 9 ·
  • ALSA-2026:97861 · AlmaLinux 9 ·
  • RHSA-2026:79177 · Red Hat Enterprise Linux 9 appstream ·
  • RLSA-2026:79177 · Rocky Linux 9 ·
  • RHSA-2026:77369 · Red Hat Enterprise Linux 8 appstream ·
  • RLSA-2026:77369 · Rocky Linux 8 ·
  • ALSA-2026:79177 · AlmaLinux 9 ·
  • ALSA-2026:77369 · AlmaLinux 8 ·
  • RLSA-2026:75581 · Rocky Linux 10 ·
  • RHSA-2026:75581 · Red Hat Enterprise Linux 10.2 ·
  • ALSA-2026:75581 · AlmaLinux 10 ·
  • RHSA-2026:69719 · Red Hat enterprise linux eus 10.0 ·
  • RHSA-2026:69720 · Red Hat rhel e4s 9.2 appstream ·
  • RHSA-2026:69717 · Red Hat rhel e4s 8.8 appstream, Red Hat rhel tus 8.8 appstream ·
  • RHSA-2026:69718 · Red Hat rhel e4s 9.4 appstream ·
  • RHSA-2026:69715 · Red Hat rhel els 7 ·
  • RHSA-2026:69716 · Red Hat rhel eus 9.6 appstream ·
  • RHSA-2026:69713 · Red Hat rhel aus 8.6 appstream, Red Hat rhel eus long life 8.6 appstream ·
  • RHSA-2026:69712 · Red Hat rhel aus 8.4 appstream, Red Hat rhel eus long life 8.4 appstream ·
  • DSA-6504-1 · Debian 13 ·
  • SUSE-SU-2026:3953-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • SUSE-SU-2026:3952-1 · SUSE Linux Enterprise Module for Server Applications 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • DLA-4768-1 · Debian 12 ·
  • SUSE-SU-2026:3915-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • openSUSE-SU-2026:21717-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:23593-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:11582-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • mod_auth_openidc

    Versions
    • < 2.4.19.4: Affected

    No fix published

  • libapache2-mod-auth-openidc Debian 12

    Versions
    • 2.4.12.3-2
    • 2.4.12.3-2+deb12u1
    • 2.4.12.3-2+deb12u2
    • 2.4.12.3-2+deb12u3
    • 2.4.12.3-2+deb12u4
    Affected ranges
    • ECOSYSTEM: < 2.4.12.3-2+deb12u5

    Update to 2.4.12.3-2+deb12u5

  • libapache2-mod-auth-openidc Debian 13

    Versions
    • 2.4.17-1
    Affected ranges
    • ECOSYSTEM: < 2.4.17-1+deb13u1

    Update to 2.4.17-1+deb13u1

  • libapache2-mod-auth-openidc Debian 14

    Versions
    • 2.4.17-1
    • 2.4.17.2-1
    • 2.4.18-1
    • 2.4.18.1-1
    • 2.4.19-1
    • 2.4.19.1-1
    All versions (10)
    • 2.4.19.1-2
    • 2.4.19.2-1
    • 2.4.19.2-2
    • 2.4.19.2-3
    Affected ranges
    • ECOSYSTEM: < 2.4.19.4-1

    Update to 2.4.19.4-1

  • libapache2-mod-auth-openidc Ubuntu 16.04 LTS

    Versions
    • 1.6.0-1
    • 1.8.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libapache2-mod-auth-openidc Ubuntu 18.04 LTS

    Versions
    • 2.1.6-1
    • 2.3.1-2
    • 2.3.2-1
    • 2.3.2-1build1
    • 2.3.3-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libapache2-mod-auth-openidc Ubuntu 20.04 LTS

    Versions
    • 2.3.10.2-1
    • 2.4.0.4-1
    • 2.4.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libapache2-mod-auth-openidc Ubuntu 22.04 LTS

    Versions
    • 2.4.9-1
    • 2.4.9.4-1
    • 2.4.10-1
    • 2.4.10-1build1
    • 2.4.11-1
    • 2.4.11-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libapache2-mod-auth-openidc Ubuntu 24.04 LTS

    Versions
    • 2.4.14.2-1
    • 2.4.14.4-2
    • 2.4.14.4-2build1
    • 2.4.15.1-1
    • 2.4.15.1-1build2
    • 2.4.15.1-1build3
    All versions (7)
    • 2.4.15.1-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libapache2-mod-auth-openidc Ubuntu 26.04 LTS

    Versions
    • 2.4.17-1
    • 2.4.18.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →