Description
pam_oath.so in oath-toolkit 2.6.7 through 2.6.11 before 2.6.12 allows root privilege escalation because, in the context of PAM code running as root, it mishandles usersfile access, such as by calling fchown in the presence of a symlink.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | oath-toolkit | 2.6.12-1 | — |
| Debian 13 | oath-toolkit | 2.6.12-1 | — |
| Debian 12 | oath-toolkit | 2.6.7-3.1+deb12u1 | DSA-5784-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | oath-toolkit | No fix yet | — |
| Ubuntu 24.04 LTS | oath-toolkit | 2.6.11-2.1ubuntu0.1 | USN-7059-1 |
| Ubuntu 22.04 LTS | oath-toolkit | 2.6.7-3ubuntu0.1 | USN-7059-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 8 | ceph +27 | 2:19.2.0-124.el9cp | RHSA-2025:9775, RHSA-2025:3635 |
| Red Hat Ceph Storage 8 | cephadm-ansible | 1:4.1.4-1.el9cp | RHSA-2025:9775 |
| Red Hat Ceph Storage 8 | liboath +1 | 2.6.12-1.el9cp | RHSA-2025:9775, RHSA-2025:3635 |
| Red Hat Ceph Storage 7 | ceph +25 | 2:18.2.1-329.el8cp | RHSA-2025:4664 |
| Red Hat Ceph Storage 7 | cephadm | 2:18.2.1-329.el9cp | RHSA-2025:4664 |
| Red Hat Ceph Storage 7 | liboath +1 | 2.6.12-1.el8cp | RHSA-2025:4664 |
| Red Hat Ceph Storage 6 | liboath +1 | 2.6.12-1.el8cp | RHSA-2025:4238 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | oath-toolkit | 2.6.11.12-1.1 | openSUSE-SU-2024:14389-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | liboath +8 | 2.6.12-1.amzn2023.0.1 | ALAS2023-2024-722 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | oath-toolkit | 2.6.9-2 | — |
| Azure Linux 2 (CBL-Mariner) | oath-toolkit | 2.6.7-3 | — |
Advisories 9
- RHSA-2025:4664 Red Hat Security Advisory: Red Hat Ceph Storage 7.1 security, bug fix, and enhancement updates Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2025:9775 Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2025:4238 Red Hat Security Advisory: Red Hat Ceph Storage 6.1 bug fix update Red Hat Security Advisories (RHSA) · Oct 9, 2026
- RHSA-2025:3635 Red Hat Security Advisory: Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates Red Hat Security Advisories (RHSA) · Aug 19, 2026
- USN-7059-1 oath-toolkit vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5784-1 oath-toolkit - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:14389-1 liboath-devel-2.6.11.12-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-0733 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 19, 2025
- ALAS2023-2024-722 Important: oath-toolkit security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 14, 2024
References
- https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/43
- https://www.openwall.com/lists/oss-security/2024/10/04/2
- https://security.opensuse.org/2024/10/04/oath-toolkit-vulnerability.html
- https://www.nongnu.org/oath-toolkit/security/CVE-2024-47191
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/60d9902b5c20f27e70f8e9c816bfdc0467567e1a
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/3235a52f6b87cd1c5da6508f421ac261f5e33a70
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/3271139989fde35ab0163b558fc29e80c3a280e5
- https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/95ef255e6a401949ce3f67609bf8aac2029db418