Skip to main content
No exploitation reportedFix available

CVE-2025-8941

No exploitation reported by the sources we read.

  • Published2025-08-13
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-08-1315:15CVE publishedNVD

Versions per branch

Products declared by the CNA26 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

20 more products in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-12-10

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • pamTuxCare:AlmaLinux:9.2all versions · fixed in 1.5.1-14.el9.tuxcare.els4and 2 other packages
  • pamRoot:Ubuntu:22.04all versions · fixed in 1.4.0-11ubuntu2.8.aikido.9and 1 other package
  • pamRocky Linux:9all versions · fixed in 0:1.5.1-26.el9_6
  • pamRocky Linux:8all versions · fixed in 0:1.3.1-38.el8_10
  • pamRed Hat:rhel_tus:8.8::baseosall versions · fixed in 0:1.3.1-26.el8_8.2and 3 other packages
  • pamRed Hat:rhel_tus:8.6::baseosall versions · fixed in 0:1.3.1-16.el8_6.3and 3 other packages
  • pamRed Hat:rhel_eus:9.4::baseosall versions · fixed in 0:1.5.1-24.el9_4.1and 2 other packages
  • pamRed Hat:rhel_eus_long_life:8.4::baseosall versions · fixed in 0:1.3.1-14.el8_4.2and 3 other packages

19 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-8941 Red Hat Product Security324 products fixed

    linux-pam: Incomplete fix for CVE-2025-6020

  • RHSA-2026:0934 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: Release of OpenShift Serverless Logic 1.36.0 security update & enhancements

  • RHSA-2025:21885 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Compliance Operator bug fix and enhancement update

  • RHSA-2025:18219 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.16.0

  • RHSA-2025:17181 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Insights proxy Container Image

  • RHSA-2025:16524 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage

13 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2026:0934 · 30 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2025:21885 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.openshift.com/container-platform/latest/updating/updating_a_cluster/updating-cluster-cli.html
  3. Vendor fix Red Hat Product Security RHSA-2025:18219 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. The steps to apply the upgraded images are different depending on the installation plan approval policy you used when installing the cert-manager Operator for Red Hat OpenShift. - If t…
  4. Vendor fix Red Hat Product Security RHSA-2025:17181 · 2 productsThe Insights proxy container image provided here is downloaded by the Red Hat Insights proxy product RPM. Before applying this update, make sure all previously released errata relevant to your system have been applied.
  5. Vendor fix Red Hat Product Security RHSA-2025:16524 · 2 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
  6. Vendor fix Red Hat Product Security RHSA-2025:15828 · 2 productsThe Red Hat Web Terminal 1.11 on RHEL 9 container images provided by this update can be downloaded from the Red Hat Container Registry at registry.access.redhat.com. Installation instructions for your platform are available at Red Hat Container Catalog (see References). Dockerfiles and scripts sho…

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2025-08-13
Last Modified
2026-06-17
NVD status
Deferred
GitHub Advisory
GHSA-hqqx-rjqh-53c2

Frequently asked questions

What is CVE-2025-8941?

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.

Is CVE-2025-8941 actively exploited?

Active exploitation of CVE-2025-8941 has not been confirmed. Its EPSS score was 0.3% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-8941?

CVE-2025-8941 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running linux-pam? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record