p PatchFirst

CVE-2025-6020

CVE-2025-6020 · Linux-pam: linux-pam directory traversal

CVSS 7.8 · High · EPSS 0.3% · Public exploit · Fix available

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 module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.

Published
Updated

Fixes in distributions

  • DLA-4941-1 · Debian 12 ·
  • RLSA-2025:20181 · Rocky Linux 10 ·
  • RHSA-2025:22019 · Red Hat enterprise linux eus 10.0 ·
  • RHSA-2025:20181 · Red Hat Enterprise Linux 10.1 ·
  • ALSA-2025:20181 · AlmaLinux 10 ·
  • RLSA-2025:15099 · Rocky Linux 9 ·
  • RLSA-2025:9526 · Rocky Linux 9 ·
  • DLA-4306-1 · Debian 11 ·
  • RLSA-2025:14557 · Rocky Linux 8 ·
  • 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 ·
  • RLSA-2025:10027 · Rocky Linux 8 ·
  • RHSA-2025:10361 · Red Hat rhel aus 8.4 baseos ·
  • RHSA-2025:10362 · Red Hat rhel aus 8.2 baseos ·
  • RHSA-2025:10359 · Red Hat rhel aus 8.6 baseos, Red Hat rhel e4s 8.6 baseos, Red Hat rhel tus 8.6 baseos ·
  • RHSA-2025:10357 · Red Hat rhel els 7 ·
  • RHSA-2025:10358 · Red Hat rhel e4s 8.8 baseos, Red Hat rhel tus 8.8 baseos ·
  • RHSA-2025:10354 · Red Hat rhel e4s 9.0 appstream, Red Hat rhel e4s 9.0 baseos ·
  • openSUSE-SU-2025:15256-1 · openSUSE Tumbleweed ·
  • RHSA-2025:10180 · Red Hat rhel e4s 9.2 appstream, Red Hat rhel e4s 9.2 baseos ·
  • RHSA-2025:10027 · Red Hat Enterprise Linux 8 baseos ·
  • RHSA-2025:10024 · Red Hat rhel eus 9.4 appstream, Red Hat rhel eus 9.4 baseos ·
  • ALSA-2025:10027 · AlmaLinux 8 ·
  • RHSA-2025:9526 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 baseos ·
  • ALSA-2025:9526 · AlmaLinux 9 ·
  • SUSE-SU-2025:20427-1 · SUSE Linux Micro 6.0 ·
  • SUSE-SU-2025:20441-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2025:02013-1 · openSUSE Leap 15.6, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Basesystem 15 SP6, SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Module for Development Tools 15 SP6, SUSE Linux Enterprise Module for Development Tools 15 SP7, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
  • USN-7580-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS ·

Stack: system

Affected products and versions

Original sources

Check your server →