Input validation error in mod_auth_openidc - CVE-2025-3891
Published: July 1, 2025
Vulnerability identifier: #VU112073
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-3891
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input when OIDCPreservePost is enabled in mod_auth_openidc. A remote attacker can send an HTTP POST request without a Content-Type header and crash the web server.
Affected software
mod_auth_openidc
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Server Applications Module
openSUSE Leap
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
cjose
cjose-devel
apache2-mod_auth_openidc-debuginfo
apache2-mod_auth_openidc-debugsource
apache2-mod_auth_openidc
openidc (Red Hat package)
mod_auth_openidc
libapache2-mod-auth-openidc (Debian package)
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Server Applications Module
openSUSE Leap
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
cjose
cjose-devel
apache2-mod_auth_openidc-debuginfo
apache2-mod_auth_openidc-debugsource
apache2-mod_auth_openidc
openidc (Red Hat package)
mod_auth_openidc
libapache2-mod-auth-openidc (Debian package)
How to mitigate CVE-2025-3891
Install updates from vendor's website.
mod_auth_openidc - update to 2.4.13.2
cjose - update to 0.6.1-4
cjose-devel - update to 0.6.1-4
apache2-mod_auth_openidc-debuginfo - addressed in versions 2.3.8-150100.3.34.1, 2.3.8-150600.16.11.1, 2.4.0-7.22.1
apache2-mod_auth_openidc-debugsource - addressed in versions 2.3.8-150100.3.34.1, 2.3.8-150600.16.11.1, 2.4.0-7.22.1
apache2-mod_auth_openidc - addressed in versions 2.3.8-150100.3.34.1, 2.3.8-150600.16.11.1, 2.4.0-7.22.1
openidc (Red Hat package) - addressed in versions 2.4.9.4-1.el9_0.3, 2.4.9.4-1.el9_2.3, 2.4.9.4-4.el9_4.2
mod_auth_openidc - update to 2.4.9.4-8
libapache2-mod-auth-openidc (Debian package) - update to 2.4.12.3-2+deb12u4
cjose - update to 0.6.1-4
cjose-devel - update to 0.6.1-4
apache2-mod_auth_openidc-debuginfo - addressed in versions 2.3.8-150100.3.34.1, 2.3.8-150600.16.11.1, 2.4.0-7.22.1
apache2-mod_auth_openidc-debugsource - addressed in versions 2.3.8-150100.3.34.1, 2.3.8-150600.16.11.1, 2.4.0-7.22.1
apache2-mod_auth_openidc - addressed in versions 2.3.8-150100.3.34.1, 2.3.8-150600.16.11.1, 2.4.0-7.22.1
openidc (Red Hat package) - addressed in versions 2.4.9.4-1.el9_0.3, 2.4.9.4-1.el9_2.3, 2.4.9.4-4.el9_4.2
mod_auth_openidc - update to 2.4.9.4-8
libapache2-mod-auth-openidc (Debian package) - update to 2.4.12.3-2+deb12u4
External References
Related Security Bulletins
- Remote denial of service in mod_auth_openidc
- Debian update for libapache2-mod-auth-openidc
- Red Hat Enterprise Linux 8 update for the mod_auth_openidc:2.3 module
- Red Hat Enterprise Linux 9 update for mod_auth_openidc
- Red Hat Enterprise Linux 8 update for the mod_auth_openidc:2.3 module
- Red Hat Enterprise Linux 8 update for the mod_auth_openidc:2.3 module
- Red Hat Enterprise Linux 9 update for mod_auth_openidc
- SUSE update for apache2-mod_auth_openidc
- SUSE update for apache2-mod_auth_openidc
- SUSE update for apache2-mod_auth_openidc
- Anolis OS update for mod_auth_openidc:2.3 module
- Red Hat Enterprise Linux 8 update for the mod_auth_openidc:2.3 module
- Red Hat Enterprise Linux 9 update for mod_auth_openidc
- Red Hat Enterprise Linux 8 update for the mod_auth_openidc:2.3 module