# CVE-2025-1390: pam\_cap: Fix potential configuration parsing error

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-18 · Modified: 2026-10-15
- Aliases: MGASA-2025-0082, UBUNTU-CVE-2025-1390, USN-7287-1, DEBIAN-CVE-2025-1390
- Record: https://cvemate.com/vulnerability/CVE-2025-1390 · JSON: https://cvemate.com/vulnerability/CVE-2025-1390/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
- EPSS: 0.176%, percentile 7.45%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libcap2 (Debian): \< 1:2.66-4+deb12u1 \| \< 1:2.73-4
- ubuntu libcap2 (Ubuntu): All versions (No fix recorded) \| \< 1:2.32-1ubuntu0.2 \| \< 1:2.44-1ubuntu0.22.04.2 \| \< 1:2.66-5ubuntu2.2
- mageia libcap (Mageia): \< 2.52-5.1.mga9
- openanolis anolis os: 2.73;0

## References

- <https://bugzilla.openanolis.cn/show_bug.cgi?id=18804>
- <https://advisories.mageia.org/MGASA-2025-0082.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34048>
- <https://ubuntu.com/security/notices/USN-7287-1>
- <https://ubuntu.com/security/CVE-2025-1390>
- <https://www.cve.org/CVERecord?id=CVE-2025-1390>
- <https://security-tracker.debian.org/tracker/CVE-2025-1390>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1390>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>

---

Data as of 2026-12-05T11:47:33.322Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
