CVE-2025-23013 Auth bypass in pam-u2f

High 7.3 Published Updated

Local attackers can bypass authentication and escalate privileges in specific configurations of the Yubico PAM module.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-23013?

CVE-2025-23013 is a high-severity authentication bypass vulnerability in Yubico pam-u2f, published on 15 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Yubico pam-u2f before 1.3.1, local privilege escalation can sometimes occur. This product implements a Pluggable Authentication Module (PAM) that can be deployed to support authentication using a YubiKey or other FIDO compliant authenticators on macOS or Linux. This software package has an issue that allows for an authentication bypass in some configurations. An attacker would require the ability to access the system as an unprivileged user. Depending on the configuration, the attacker may also need to know the user's password.

Weakness: CWE-394

Which versions are affected by CVE-2025-23013?

Linux distribution packages (24)
pam_u2f SUSE:Enterprise Storage 7.1All versions1.0.8-150000.3.6.1
pam_u2f SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.0.8-150000.3.6.1
pam_u2f SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise Micro 5.3All versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise Micro 5.4All versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise Micro 5.5All versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.2.0-150600.10.5.1
pam_u2f SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions1.0.8-3.6.1
pam_u2f SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.0.8-150000.3.6.1
pam_u2f SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions1.0.8-3.6.1
pam_u2f SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.0.8-150000.3.6.1
pam_u2f SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions1.2.0-150400.4.5.1
pam_u2f SUSE:Linux Micro 6.0All versions1.3.2-1.1
pam_u2f SUSE:Linux Micro 6.1All versions1.3.0-slfo.1.1_2.1
pam_u2f SUSE:Manager Proxy 4.3All versions1.2.0-150400.4.5.1
pam_u2f SUSE:Manager Server 4.3All versions1.2.0-150400.4.5.1
pam_u2f openSUSE:Leap 15.6All versions1.2.0-150600.10.5.1
pam_u2f openSUSE:TumbleweedAll versions1.3.1-1.1

How do I fix CVE-2025-23013?

Upgrade to a fixed version.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2025-23013 being exploited?

There is no known exploitation of CVE-2025-23013 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-23013, DLA-4040-1, DSA-5853-1, GHSA-wwr4-cj7g-985f, SUSE-SU-2025:0167-1, SUSE-SU-2025:0192-1 and 7 more.

Is CVE-2025-23013 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free