CVE-2025-8941

Publication date 13 August 2025

Last updated 31 March 2026


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

Description

A flaw was found in linux-pam. The pam_namespace module may improperly handle user-controlled paths, allowing local users to exploit symlink attacks and race conditions to elevate their privileges to root. This CVE provides a "complete" fix for CVE-2025-6020.

Read the notes from the security team

Status

Package Ubuntu Release Status
pam 25.10 questing
Not affected
25.04 plucky Ignored end of life, was not-affected (see notes) [2026-01-05]
24.04 LTS noble
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


mdeslaur

This CVE appear to be a Red Hat specific incomplete fix due to the use of preliminary and/or incomplete patches for CVE-2025-6020. See: https://git.rockylinux.org/staging/rpms/pam/-/commit/44aa163026f05df91429ffcae635944264e3e85f

Severity score breakdown

Parameter Value
Base score 7.8 · High
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Access our resources on patching vulnerabilities