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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-08-21T16:13:23.073Z
- Modified: 2026-10-15T19:10:00.173Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OpenIDC mod_auth_openidc: < 2.4.19.4

## References

- <https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-vgr5-qcpp-x2pr>
- <https://github.com/OpenIDC/mod_auth_openidc/commit/8017478471cc071c49aa073c5c9be652a73a8630>
- <https://lists.debian.org/debian-lts-announce/2026/09/msg00003.html>

## Sources

- CVE List: [CVE-2026-54789](https://www.cve.org/CVERecord?id=CVE-2026-54789), CVE Terms of Use, modified 2026-09-02
- NVD: [CVE-2026-54789](https://nvd.nist.gov/vuln/detail/CVE-2026-54789), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-54789 · Whole record: https://cve.day/CVE-2026-54789.json · Rebuilt by cve.day 2026-11-25T22:59:34.796Z
