
CVE catalog
CVE-2025-1390
libcap2 vulnerability
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.18% · Oct 25, 2026
The 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libcap2 | sid | 1:2.78-1 | fixed |
| Debian | libcap2 | forky | 1:2.78-1 | fixed |
| Debian | libcap2 | trixie | 1:2.75-10+deb13u1 | fixed |
| Debian | libcap2 | bookworm | 1:2.66-4+deb12u3 | fixed |
| Ubuntu | libcap2 | noble | 1:2.66-4+deb12u1 | fixed |
| Ubuntu | libcap2 | noble | 1:2.66-5ubuntu2.2 | fixed |
| Ubuntu | libcap-dev | noble | 1:2.66-5ubuntu2.2 | fixed |
| Ubuntu | libcap2-bin | noble | 1:2.66-5ubuntu2.2 | fixed |
| Ubuntu | libpam-cap | noble | 1:2.66-5ubuntu2.2 | fixed |
| Ubuntu | libcap2 | pro | 1:2.25-1.1 | vulnerable |
| Ubuntu | libcap2 | pro | 1:2.25-1.2 | vulnerable |
| Ubuntu | libcap2 | pro | 1:2.25-1.2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | libcap2 | pro | 1:2.25-1.2ubuntu0.1~esm2 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.25-2 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.27-1 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.32-1 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.32-1ubuntu0.1 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.32-1ubuntu0.2 | fixed |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1build1 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1build2 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1build3 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1ubuntu0.22.04.1 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1ubuntu0.22.04.2 | fixed |
| Ubuntu | libcap2 | 24.04 | 1:2.66-4ubuntu1 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu1 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu2 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu2.1 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu2.2 | fixed |
| Ubuntu | libcap2 | 20.04 | 1:2.25-2 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.27-1 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.32-1 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.32-1ubuntu0.1 | vulnerable |
| Ubuntu | libcap2 | 20.04 | 1:2.32-1ubuntu0.2 | fixed |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1build1 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1build2 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1build3 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1ubuntu0.22.04.1 | vulnerable |
| Ubuntu | libcap2 | 22.04 | 1:2.44-1ubuntu0.22.04.2 | fixed |
| Ubuntu | libcap2 | 24.04 | 1:2.66-4ubuntu1 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu1 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu2 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu2.1 | vulnerable |
| Ubuntu | libcap2 | 24.04 | 1:2.66-5ubuntu2.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libcap2 | source | sid | 1:2.73-4 | not yet assigned | Not reported | [1098318] |
| Debian | libcap2 | source | forky | 1:2.73-4 | not yet assigned | Not reported | [1098318] |
| Debian | libcap2 | source | trixie | 1:2.73-4 | not yet assigned | Not reported | [1098318] |
| Debian | libcap2 | source | bookworm | 1:2.66-4+deb12u1 | not yet assigned | Not reported | [1098318] |
| Ubuntu | libcap2 | deb | noble | 1:2.66-4+deb12u1 | Not reported | Not reported | Not reported |
| Ubuntu | libcap2 | deb | noble | 1:2.66-5ubuntu2.2 | Not reported | Not reported | Not reported |
| Ubuntu | libcap-dev | deb | noble | 1:2.66-5ubuntu2.2 | Not reported | Not reported | Not reported |
| Ubuntu | libcap2-bin | deb | noble | 1:2.66-5ubuntu2.2 | Not reported | Not reported | Not reported |
| Ubuntu | libpam-cap | deb | noble | 1:2.66-5ubuntu2.2 | Not reported | Not reported | Not reported |
| Ubuntu | libcap2 | deb | 20.04 | 1:2.32-1ubuntu0.2 | Not reported | UBUNTU-CVE-2025-1390 | Not reported |
| Ubuntu | libcap2 | deb | 22.04 | 1:2.44-1ubuntu0.22.04.2 | Not reported | UBUNTU-CVE-2025-1390 | Not reported |
| Ubuntu | libcap2 | deb | 24.04 | 1:2.66-5ubuntu2.2 | Not reported | UBUNTU-CVE-2025-1390 | Not reported |
| Ubuntu | libcap2 | deb | 20.04 | 1:2.32-1ubuntu0.2 | Not reported | USN-7287-1 | Not reported |
| Ubuntu | libcap2 | deb | 22.04 | 1:2.44-1ubuntu0.22.04.2 | Not reported | USN-7287-1 | Not reported |
| Ubuntu | libcap2 | deb | 24.04 | 1:2.66-5ubuntu2.2 | Not reported | USN-7287-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-1390]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-1390]
- [https://osv.dev/vulnerability/USN-7287-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-1390]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-1390.json]
- [https://ubuntu.com/security/notices/USN-7287-1]
[CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]