{"id":"CVE-2026-54789","summary":"mod_auth_openidc has out-of-bounds read and write in state cookie parsing","details":"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.","aliases":["GHSA-vgr5-qcpp-x2pr"],"modified":"2026-09-10T18:27:12.568521417Z","published":"2026-08-21T16:13:23.073Z","related":["SUSE-SU-2026:3915-1","SUSE-SU-2026:3952-1","SUSE-SU-2026:3953-1","openSUSE-SU-2026:11582-1","openSUSE-SU-2026:21717-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125","CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54789.json"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/09/msg00003.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54789.json"},{"type":"ADVISORY","url":"https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-vgr5-qcpp-x2pr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54789"},{"type":"FIX","url":"https://github.com/OpenIDC/mod_auth_openidc/commit/8017478471cc071c49aa073c5c9be652a73a8630"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openidc/mod_auth_openidc","events":[{"introduced":"0"},{"fixed":"8017478471cc071c49aa073c5c9be652a73a8630"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.4.19.4"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.4.19.3","v2.4.19.2","v2.4.19.1","v2.4.19","v2.4.18.1","v2.4.18","v2.4.17.2","v2.4.17.1","v2.4.17","v2.4.16.11","v2.4.16.10","v2.4.16.9","v2.4.16.8","v2.4.16.7","v2.4.16.6","v2.4.16.5","v2.4.16.4","v2.4.16.3","v2.4.16.2","v2.4.16.1","v2.4.16","v2.4.15.7","v2.4.15.6","v2.4.15.5","v2.4.15.4","v2.4.15.3","v2.4.15.2","v2.4.15.1","v2.4.15","v2.4.14.4","v2.4.14.3","v2.4.14.2","v2.4.14.1","v2.4.14","v2.4.13.2","v2.4.13.1","v2.4.13","v2.4.12.3","v2.4.12.2","v2.4.12.1","v2.4.12","v2.4.11.3","v2.4.11.2","v2.4.11.1","v2.4.11","v2.4.10","v2.4.9.4","v2.4.9.3","v2.4.9.2","v2.4.9.1","v2.4.9","v2.4.8.4","v2.4.8.3","v2.4.8.2","v2.4.8.1","v2.4.7.2","v2.4.7.1","v2.4.7","v2.4.6","v2.4.5","v2.4.4.1","v2.4.4","v2.4.3","v2.4.2.1","v2.4.2","v2.4.1","v2.4.0.4","v2.4.0.3","v2.4.0.2","v2.4.0.1","v2.4.0","v2.3.11","2.3.11rc1","v2.3.10.2","v2.3.10.1","v2.3.10","v2.3.9","v2.3.8","v2.3.7","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.3.0rc3","v2.3.0rc0","v2.2.0","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v2.0.0rc4","v2.0.0rc1","v1.8.10","v1.8.9","v1.8.8","v1.8.7","v1.8.6","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.0","v1.6.0","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-54789.json","vanir_signatures_modified":"2026-09-04T08:11:34Z","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/8017478471cc071c49aa073c5c9be652a73a8630","target":{"file":"src/state.c"},"deprecated":false,"digest":{"line_hashes":["70831870423161090910387495769096353594","251522285052450793301443864755380277658","177705975256860084344856102528052936787","192503434168308454777900497137426301263"],"threshold":0.9},"id":"CVE-2026-54789-1f3b0ed8"},{"deprecated":false,"digest":{"function_hash":"247466007496986471113165742689547077063","length":804},"id":"CVE-2026-54789-2b6dcadf","signature_type":"Function","signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/8017478471cc071c49aa073c5c9be652a73a8630","target":{"file":"test/test_state.c","function":"main"}},{"digest":{"length":488,"function_hash":"193350400988702263902964781649491558353"},"id":"CVE-2026-54789-4c62c5e8","signature_type":"Function","signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/8017478471cc071c49aa073c5c9be652a73a8630","target":{"file":"src/state.c","function":"oidc_state_cookies_parse_token"},"deprecated":false},{"deprecated":false,"digest":{"line_hashes":["299701336619880153036665172526259069740","151211151037283842020539100396100715108","103069616787231984670234510666743102783","218993426657821527075613173926275777958","81589264247536892897081541643899056410","8709090653557006556792553250146048417","196568422358303593685490610712684316383"],"threshold":0.9},"id":"CVE-2026-54789-65f39b3b","signature_type":"Line","signature_version":"v1","source":"https://github.com/openidc/mod_auth_openidc/commit/8017478471cc071c49aa073c5c9be652a73a8630","target":{"file":"test/test_state.c"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}