CVE catalog

CVE-2025-1390

libcap2 vulnerability

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibcap2sid1:2.78-1fixed
Debianlibcap2forky1:2.78-1fixed
Debianlibcap2trixie1:2.75-10+deb13u1fixed
Debianlibcap2bookworm1:2.66-4+deb12u3fixed
Ubuntulibcap2noble1:2.66-4+deb12u1fixed
Ubuntulibcap2noble1:2.66-5ubuntu2.2fixed
Ubuntulibcap-devnoble1:2.66-5ubuntu2.2fixed
Ubuntulibcap2-binnoble1:2.66-5ubuntu2.2fixed
Ubuntulibpam-capnoble1:2.66-5ubuntu2.2fixed
Ubuntulibcap2pro1:2.25-1.1vulnerable
Ubuntulibcap2pro1:2.25-1.2vulnerable
Ubuntulibcap2pro1:2.25-1.2ubuntu0.1~esm1vulnerable
Ubuntulibcap2pro1:2.25-1.2ubuntu0.1~esm2vulnerable
Ubuntulibcap220.041:2.25-2vulnerable
Ubuntulibcap220.041:2.27-1vulnerable
Ubuntulibcap220.041:2.32-1vulnerable
Ubuntulibcap220.041:2.32-1ubuntu0.1vulnerable
Ubuntulibcap220.041:2.32-1ubuntu0.2fixed
Ubuntulibcap222.041:2.44-1build1vulnerable
Ubuntulibcap222.041:2.44-1build2vulnerable
Ubuntulibcap222.041:2.44-1build3vulnerable
Ubuntulibcap222.041:2.44-1ubuntu0.22.04.1vulnerable
Ubuntulibcap222.041:2.44-1ubuntu0.22.04.2fixed
Ubuntulibcap224.041:2.66-4ubuntu1vulnerable
Ubuntulibcap224.041:2.66-5ubuntu1vulnerable
Ubuntulibcap224.041:2.66-5ubuntu2vulnerable
Ubuntulibcap224.041:2.66-5ubuntu2.1vulnerable
Ubuntulibcap224.041:2.66-5ubuntu2.2fixed
Ubuntulibcap220.041:2.25-2vulnerable
Ubuntulibcap220.041:2.27-1vulnerable
Ubuntulibcap220.041:2.32-1vulnerable
Ubuntulibcap220.041:2.32-1ubuntu0.1vulnerable
Ubuntulibcap220.041:2.32-1ubuntu0.2fixed
Ubuntulibcap222.041:2.44-1build1vulnerable
Ubuntulibcap222.041:2.44-1build2vulnerable
Ubuntulibcap222.041:2.44-1build3vulnerable
Ubuntulibcap222.041:2.44-1ubuntu0.22.04.1vulnerable
Ubuntulibcap222.041:2.44-1ubuntu0.22.04.2fixed
Ubuntulibcap224.041:2.66-4ubuntu1vulnerable
Ubuntulibcap224.041:2.66-5ubuntu1vulnerable
Ubuntulibcap224.041:2.66-5ubuntu2vulnerable
Ubuntulibcap224.041:2.66-5ubuntu2.1vulnerable
Ubuntulibcap224.041:2.66-5ubuntu2.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcap2sourcesid1:2.73-4not yet assignedNot reported[1098318]
Debianlibcap2sourceforky1:2.73-4not yet assignedNot reported[1098318]
Debianlibcap2sourcetrixie1:2.73-4not yet assignedNot reported[1098318]
Debianlibcap2sourcebookworm1:2.66-4+deb12u1not yet assignedNot reported[1098318]
Ubuntulibcap2debnoble1:2.66-4+deb12u1Not reportedNot reportedNot reported
Ubuntulibcap2debnoble1:2.66-5ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibcap-devdebnoble1:2.66-5ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibcap2-bindebnoble1:2.66-5ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibpam-capdebnoble1:2.66-5ubuntu2.2Not reportedNot reportedNot reported
Ubuntulibcap2deb20.041:2.32-1ubuntu0.2Not reportedUBUNTU-CVE-2025-1390Not reported
Ubuntulibcap2deb22.041:2.44-1ubuntu0.22.04.2Not reportedUBUNTU-CVE-2025-1390Not reported
Ubuntulibcap2deb24.041:2.66-5ubuntu2.2Not reportedUBUNTU-CVE-2025-1390Not reported
Ubuntulibcap2deb20.041:2.32-1ubuntu0.2Not reportedUSN-7287-1Not reported
Ubuntulibcap2deb22.041:2.44-1ubuntu0.22.04.2Not reportedUSN-7287-1Not reported
Ubuntulibcap2deb24.041:2.66-5ubuntu2.2Not reportedUSN-7287-1Not reported

[Debian bug #1098318]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References