UBUNTU-CVE-2025-1390 (CVE-2025-1390)
Vulnerability from osv_ubuntu – Published: 2025-02-20 00:00 – Updated: 2026-06-23 20:03 – Source websiteThe PAM module pam_cap.so of libcap configuration supports group names starting with “@”, during actual parsing, configurations not starting with “@” are incorrectly recognized as group names. This may result in nonintended users being granted an inherited capability set, potentially leading to security risks. Attackers can exploit this vulnerability to achieve local privilege escalation on systems where /etc/security/capability.conf is used to configure user inherited privileges by constructing specific usernames.
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcap2",
"binary_version": "1:2.24-0ubuntu2+esm2"
},
{
"binary_name": "libcap2-bin",
"binary_version": "1:2.24-0ubuntu2+esm2"
},
{
"binary_name": "libpam-cap",
"binary_version": "1:2.24-0ubuntu2+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "libcap2",
"purl": "pkg:deb/ubuntu/libcap2@1:2.24-0ubuntu2+esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.22-1.2ubuntu2",
"1:2.24-0ubuntu1",
"1:2.24-0ubuntu2",
"1:2.24-0ubuntu2+esm1",
"1:2.24-0ubuntu2+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcap2",
"binary_version": "1:2.24-12ubuntu0.1~esm2"
},
{
"binary_name": "libcap2-bin",
"binary_version": "1:2.24-12ubuntu0.1~esm2"
},
{
"binary_name": "libpam-cap",
"binary_version": "1:2.24-12ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "libcap2",
"purl": "pkg:deb/ubuntu/libcap2@1:2.24-12ubuntu0.1~esm2?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.24-9",
"1:2.24-12",
"1:2.24-12ubuntu0.1~esm1",
"1:2.24-12ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libcap2",
"binary_version": "1:2.25-1.2ubuntu0.1~esm2"
},
{
"binary_name": "libcap2-bin",
"binary_version": "1:2.25-1.2ubuntu0.1~esm2"
},
{
"binary_name": "libpam-cap",
"binary_version": "1:2.25-1.2ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "libcap2",
"purl": "pkg:deb/ubuntu/libcap2@1:2.25-1.2ubuntu0.1~esm2?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.25-1.1",
"1:2.25-1.2",
"1:2.25-1.2ubuntu0.1~esm1",
"1:2.25-1.2ubuntu0.1~esm2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libcap2",
"binary_version": "1:2.32-1ubuntu0.2"
},
{
"binary_name": "libcap2-bin",
"binary_version": "1:2.32-1ubuntu0.2"
},
{
"binary_name": "libpam-cap",
"binary_version": "1:2.32-1ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libcap2",
"purl": "pkg:deb/ubuntu/libcap2@1:2.32-1ubuntu0.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.32-1ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.25-2",
"1:2.27-1",
"1:2.32-1",
"1:2.32-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libcap2",
"binary_version": "1:2.44-1ubuntu0.22.04.2"
},
{
"binary_name": "libcap2-bin",
"binary_version": "1:2.44-1ubuntu0.22.04.2"
},
{
"binary_name": "libpam-cap",
"binary_version": "1:2.44-1ubuntu0.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libcap2",
"purl": "pkg:deb/ubuntu/libcap2@1:2.44-1ubuntu0.22.04.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.44-1ubuntu0.22.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.44-1build1",
"1:2.44-1build2",
"1:2.44-1build3",
"1:2.44-1ubuntu0.22.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libcap2",
"binary_version": "1:2.66-5ubuntu2.2"
},
{
"binary_name": "libcap2-bin",
"binary_version": "1:2.66-5ubuntu2.2"
},
{
"binary_name": "libpam-cap",
"binary_version": "1:2.66-5ubuntu2.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libcap2",
"purl": "pkg:deb/ubuntu/libcap2@1:2.66-5ubuntu2.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.66-5ubuntu2.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.66-4ubuntu1",
"1:2.66-5ubuntu1",
"1:2.66-5ubuntu2",
"1:2.66-5ubuntu2.1"
]
}
],
"aliases": [],
"details": "The PAM module pam_cap.so of libcap configuration supports group names starting with \u201c@\u201d, during actual parsing, configurations not starting with \u201c@\u201d are incorrectly recognized as group names. This may result in nonintended users being granted an inherited capability set, potentially leading to security risks. Attackers can exploit this vulnerability to achieve local privilege escalation on systems where /etc/security/capability.conf is used to configure user inherited privileges by constructing specific usernames.",
"id": "UBUNTU-CVE-2025-1390",
"modified": "2026-06-23T20:03:17Z",
"published": "2025-02-20T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-1390"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-1390"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7287-1"
}
],
"related": [
"USN-7287-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-1390"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.