p PatchFirst

CVE-2025-8941

CVE-2025-8941 · Linux-pam: incomplete fix for cve-2025-6020

CVSS 7.8 · High · EPSS 0.3%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Fixes in distributions

  • RLSA-2025:15099 · Rocky Linux 9 ·
  • RLSA-2025:14557 · Rocky Linux 8 ·
  • RHSA-2025:15106 · Red Hat rhel els 7 ·
  • RHSA-2025:15107 · Red Hat rhel aus 8.2 baseos ·
  • RHSA-2025:15105 · Red Hat rhel aus 8.6 baseos, Red Hat rhel e4s 8.6 baseos, Red Hat rhel tus 8.6 baseos ·
  • RHSA-2025:15103 · Red Hat rhel e4s 8.8 baseos, Red Hat rhel tus 8.8 baseos ·
  • RHSA-2025:15104 · Red Hat rhel aus 8.4 baseos, Red Hat rhel eus long life 8.4 baseos ·
  • RHSA-2025:15102 · Red Hat rhel eus 9.4 appstream, Red Hat rhel eus 9.4 baseos ·
  • RHSA-2025:15100 · Red Hat rhel e4s 9.0 appstream, Red Hat rhel e4s 9.0 baseos ·
  • RHSA-2025:15101 · Red Hat rhel e4s 9.2 appstream, Red Hat rhel e4s 9.2 baseos ·
  • RHSA-2025:15099 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 baseos ·
  • ALSA-2025:15099 · AlmaLinux 9 ·
  • RHSA-2025:14557 · Red Hat Enterprise Linux 8 baseos ·
  • ALSA-2025:14557 · AlmaLinux 8 ·

Stack: system

Affected products and versions

Original sources

Check your server →