cve.bz

CVE-2025-6018 suse pam-config: Incorrect Authorization

7.8 highExploitEPSS 1.1%

High (7.8) in suse pam-config. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
A Local Privilege Escalation (LPE) vulnerability has been discovered in pam-config within Linux Pluggable Authentication Modules (PAM). This flaw allows an unprivileged local attacker (for example, a user logged in via SSH) to obtain the elevated privileges normally reserved for a physically present, "allow_active" user. The highest risk is that the attacker can then perform all allow_active yes Polkit actions, which are typically restricted to console users, potentially gaining unauthorized control over system configurations, services, or other sensitive operations.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-07-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-6018 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6018?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6018?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6018 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
suse:pam-config1.1.8-24.71.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 20 morepam1.3.0-150000.6.83.1SUSE-SU-2025:02013-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 16 morepam-config1.1-150200.3.14.1SUSE-SU-2025:02082-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 16 morepam_pkcs110.6.10-150100.3.11.1SUSE-SU-2025:02031-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 moregdm3.34.1-150200.8.26.1SUSE-SU-2025:02015-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moregdm41.3-150400.4.14.1SUSE-SU-2025:02004-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7pam-config1.1-150600.16.8.1SUSE-SU-2025:02080-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7pam_pkcs110.6.10-150600.16.8.1SUSE-SU-2025:02026-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6gdm45.0.1-150600.6.8.1SUSE-SU-2025:02003-1
SUSELinux Enterprise Module for Desktop Applications 15 SP7gdm45.0.1-150700.12.5.1SUSE-SU-2025:02005-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5gdm3.10.0.1-54.23.1SUSE-SU-2025:02002-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5pam1.1.8-24.71.1SUSE-SU-2025:02001-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5pam-config0.89-5.8.1SUSE-SU-2025:02081-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6gdm45.0.1-150600.6.8.1SUSE-SU-2025:02003-1
openSUSELeap 15.6pam1.3.0-150000.6.83.1SUSE-SU-2025:02013-1
openSUSELeap 15.6pam-config1.1-150600.16.8.1SUSE-SU-2025:02080-1
openSUSELeap 15.6pam_pkcs110.6.10-150600.16.8.1SUSE-SU-2025:02026-1
openSUSETumbleweedgdm48.0-10.1openSUSE-SU-2025:15219-1
openSUSETumbleweedpam_pkcs110.6.13-2.1openSUSE-SU-2025:15257-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability does not affect the code base of Red Hat Linux PAM distribution.

Red Hat's mitigation

Currently, there is no mitigation available for this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7pamNot affected
Red Hat Enterprise Linux 8pamNot affected
Red Hat Enterprise Linux 9pamNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6018.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

8 more

References

Check your stackJSON