ubuntu-cve-2025-8941
Vulnerability from osv_ubuntu
Published
2025-08-13 15:15
Modified
2026-01-20 05:25
Summary
Details
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.
Severity
7.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpam-cracklib",
"binary_version": "1.1.8-1ubuntu2.2+esm4"
},
{
"binary_name": "libpam-modules",
"binary_version": "1.1.8-1ubuntu2.2+esm4"
},
{
"binary_name": "libpam-modules-bin",
"binary_version": "1.1.8-1ubuntu2.2+esm4"
},
{
"binary_name": "libpam-runtime",
"binary_version": "1.1.8-1ubuntu2.2+esm4"
},
{
"binary_name": "libpam0g",
"binary_version": "1.1.8-1ubuntu2.2+esm4"
},
{
"binary_name": "libpam0g-dev",
"binary_version": "1.1.8-1ubuntu2.2+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "pam",
"purl": "pkg:deb/ubuntu/pam@1.1.8-1ubuntu2.2+esm4?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.3-8ubuntu3",
"1.1.3-10ubuntu1",
"1.1.3-11ubuntu1",
"1.1.8-1ubuntu1",
"1.1.8-1ubuntu2",
"1.1.8-1ubuntu2.1",
"1.1.8-1ubuntu2.2",
"1.1.8-1ubuntu2.2+esm1",
"1.1.8-1ubuntu2.2+esm3",
"1.1.8-1ubuntu2.2+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpam-cracklib",
"binary_version": "1.1.8-3.2ubuntu2.3+esm5"
},
{
"binary_name": "libpam-modules",
"binary_version": "1.1.8-3.2ubuntu2.3+esm5"
},
{
"binary_name": "libpam-modules-bin",
"binary_version": "1.1.8-3.2ubuntu2.3+esm5"
},
{
"binary_name": "libpam-runtime",
"binary_version": "1.1.8-3.2ubuntu2.3+esm5"
},
{
"binary_name": "libpam0g",
"binary_version": "1.1.8-3.2ubuntu2.3+esm5"
},
{
"binary_name": "libpam0g-dev",
"binary_version": "1.1.8-3.2ubuntu2.3+esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "pam",
"purl": "pkg:deb/ubuntu/pam@1.1.8-3.2ubuntu2.3+esm5?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.8-3.1ubuntu3",
"1.1.8-3.2ubuntu2",
"1.1.8-3.2ubuntu2.1",
"1.1.8-3.2ubuntu2.3",
"1.1.8-3.2ubuntu2.3+esm1",
"1.1.8-3.2ubuntu2.3+esm2",
"1.1.8-3.2ubuntu2.3+esm4",
"1.1.8-3.2ubuntu2.3+esm5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpam-cracklib",
"binary_version": "1.1.8-3.6ubuntu2.18.04.6+esm1"
},
{
"binary_name": "libpam-modules",
"binary_version": "1.1.8-3.6ubuntu2.18.04.6+esm1"
},
{
"binary_name": "libpam-modules-bin",
"binary_version": "1.1.8-3.6ubuntu2.18.04.6+esm1"
},
{
"binary_name": "libpam-runtime",
"binary_version": "1.1.8-3.6ubuntu2.18.04.6+esm1"
},
{
"binary_name": "libpam0g",
"binary_version": "1.1.8-3.6ubuntu2.18.04.6+esm1"
},
{
"binary_name": "libpam0g-dev",
"binary_version": "1.1.8-3.6ubuntu2.18.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "pam",
"purl": "pkg:deb/ubuntu/pam@1.1.8-3.6ubuntu2.18.04.6+esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.8-3.2ubuntu3",
"1.1.8-3.2ubuntu4",
"1.1.8-3.6ubuntu1",
"1.1.8-3.6ubuntu2",
"1.1.8-3.6ubuntu2.18.04.1",
"1.1.8-3.6ubuntu2.18.04.2",
"1.1.8-3.6ubuntu2.18.04.3",
"1.1.8-3.6ubuntu2.18.04.4",
"1.1.8-3.6ubuntu2.18.04.6",
"1.1.8-3.6ubuntu2.18.04.6+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpam-cracklib",
"binary_version": "1.3.1-5ubuntu4.7"
},
{
"binary_name": "libpam-modules",
"binary_version": "1.3.1-5ubuntu4.7"
},
{
"binary_name": "libpam-modules-bin",
"binary_version": "1.3.1-5ubuntu4.7"
},
{
"binary_name": "libpam-runtime",
"binary_version": "1.3.1-5ubuntu4.7"
},
{
"binary_name": "libpam0g",
"binary_version": "1.3.1-5ubuntu4.7"
},
{
"binary_name": "libpam0g-dev",
"binary_version": "1.3.1-5ubuntu4.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "pam",
"purl": "pkg:deb/ubuntu/pam@1.3.1-5ubuntu4.7?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.1-5ubuntu1",
"1.3.1-5ubuntu3",
"1.3.1-5ubuntu4",
"1.3.1-5ubuntu4.1",
"1.3.1-5ubuntu4.2",
"1.3.1-5ubuntu4.3",
"1.3.1-5ubuntu4.4",
"1.3.1-5ubuntu4.6",
"1.3.1-5ubuntu4.7"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpam-cracklib",
"binary_version": "1.4.0-11ubuntu2.6"
},
{
"binary_name": "libpam-modules",
"binary_version": "1.4.0-11ubuntu2.6"
},
{
"binary_name": "libpam-modules-bin",
"binary_version": "1.4.0-11ubuntu2.6"
},
{
"binary_name": "libpam-runtime",
"binary_version": "1.4.0-11ubuntu2.6"
},
{
"binary_name": "libpam0g",
"binary_version": "1.4.0-11ubuntu2.6"
},
{
"binary_name": "libpam0g-dev",
"binary_version": "1.4.0-11ubuntu2.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "pam",
"purl": "pkg:deb/ubuntu/pam@1.4.0-11ubuntu2.6?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.1-5ubuntu11",
"1.4.0-10ubuntu1",
"1.4.0-10ubuntu2",
"1.4.0-11ubuntu1",
"1.4.0-11ubuntu2",
"1.4.0-11ubuntu2.1",
"1.4.0-11ubuntu2.3",
"1.4.0-11ubuntu2.4",
"1.4.0-11ubuntu2.5",
"1.4.0-11ubuntu2.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpam-modules",
"binary_version": "1.5.3-5ubuntu5.5"
},
{
"binary_name": "libpam-modules-bin",
"binary_version": "1.5.3-5ubuntu5.5"
},
{
"binary_name": "libpam-runtime",
"binary_version": "1.5.3-5ubuntu5.5"
},
{
"binary_name": "libpam0g",
"binary_version": "1.5.3-5ubuntu5.5"
},
{
"binary_name": "libpam0g-dev",
"binary_version": "1.5.3-5ubuntu5.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "pam",
"purl": "pkg:deb/ubuntu/pam@1.5.3-5ubuntu5.5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.2-6ubuntu1",
"1.5.2-9.1ubuntu1",
"1.5.2-9.1ubuntu2",
"1.5.2-9.1ubuntu3",
"1.5.3-5ubuntu3",
"1.5.3-5ubuntu4",
"1.5.3-5ubuntu5",
"1.5.3-5ubuntu5.1",
"1.5.3-5ubuntu5.4",
"1.5.3-5ubuntu5.5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libpam-modules",
"binary_version": "1.7.0-5ubuntu2"
},
{
"binary_name": "libpam-modules-bin",
"binary_version": "1.7.0-5ubuntu2"
},
{
"binary_name": "libpam-runtime",
"binary_version": "1.7.0-5ubuntu2"
},
{
"binary_name": "libpam0g",
"binary_version": "1.7.0-5ubuntu2"
},
{
"binary_name": "libpam0g-dev",
"binary_version": "1.7.0-5ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "pam",
"purl": "pkg:deb/ubuntu/pam@1.7.0-5ubuntu2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.3-7ubuntu4",
"1.5.3-7ubuntu5",
"1.5.3-7ubuntu6",
"1.7.0-5ubuntu1",
"1.7.0-5ubuntu2"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2025-8941",
"modified": "2026-01-20T05:25:05Z",
"published": "2025-08-13T15:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-8941"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-8941"
},
{
"type": "REPORT",
"url": "https://access.redhat.com/security/cve/CVE-2025-8941"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-8941"
],
"withdrawn": "2026-04-02T05:21:33Z"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…