# CVE-2025-1390: libcap2: The PAM module pam_cap.so of libcap configuration supports group namesstarting with “@”, during actual parsing, confi...

CVE-2025-1390 is fixed in 8 products on 1 platform, first by DEBIAN-CVE-2025-1390, released February 18, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-1390
- Priority: Routine
- CVSS: 6.1 (Medium)
- EPSS: 0.0018
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 18, 2025

## Description

The PAM module pam_cap.so of libcap configuration supports group namesstarting with “@”, during actual parsing, configurations not starting with“@” are incorrectly recognized as group names. This may result innonintended users being granted an inherited capability set, potentiallyleading to security risks. Attackers can exploit this vulnerability toachieve local privilege escalation on systems where/etc/security/capability.conf is used to configure user inheritedprivileges by constructing specific usernames.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libcap amzn 2023 | 2.48-2.amzn2023.0.4 | [ALAS2023-2025-897](https://patchblox.com/security/data/fix/linux/alas2023-2025-897.md) | Mar 13, 2025 |
| Linux | libcap-debuginfo amzn 2023 | 2.48-2.amzn2023.0.4 | [ALAS2023-2025-897](https://patchblox.com/security/data/fix/linux/alas2023-2025-897.md) | Mar 13, 2025 |
| Linux | libcap-debugsource amzn 2023 | 2.48-2.amzn2023.0.4 | [ALAS2023-2025-897](https://patchblox.com/security/data/fix/linux/alas2023-2025-897.md) | Mar 13, 2025 |
| Linux | libcap-devel amzn 2023 | 2.48-2.amzn2023.0.4 | [ALAS2023-2025-897](https://patchblox.com/security/data/fix/linux/alas2023-2025-897.md) | Mar 13, 2025 |
| Linux | libcap-static amzn 2023 | 2.48-2.amzn2023.0.4 | [ALAS2023-2025-897](https://patchblox.com/security/data/fix/linux/alas2023-2025-897.md) | Mar 13, 2025 |
| Linux | libcap2 Debian 12.15 (bookworm) | 1:2.66-4+deb12u1 | [DEBIAN-CVE-2025-1390](https://patchblox.com/security/data/fix/linux/debian-cve-2025-1390.md) | Feb 18, 2025 |
| Linux | libcap2 Debian 13.5 (trixie) | 1:2.73-4 | [DEBIAN-CVE-2025-1390](https://patchblox.com/security/data/fix/linux/debian-cve-2025-1390.md) | Feb 18, 2025 |
| Linux | libcap2 Debian 14 | 1:2.73-4 | [DEBIAN-CVE-2025-1390](https://patchblox.com/security/data/fix/linux/debian-cve-2025-1390.md) | Feb 18, 2025 |
| Linux | libcap2 Ubuntu 20.04 LTS (focal) | 1:2.32-1ubuntu0.2 | [libcap2 1:2.32-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcap2-1-2.32-1ubuntu0.2.md) | Feb 19, 2025 |
| Linux | libcap2 Ubuntu 22.04.1 LTS (jammy) | 1:2.44-1ubuntu0.22.04.2 | [libcap2 1:2.44-1ubuntu0.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcap2-1-2.44-1ubuntu0.22.04.2.md) | Feb 19, 2025 |
| Linux | libcap2 Ubuntu 24.04.5 LTS (noble) | 1:2.66-5ubuntu2.2 | [libcap2 1:2.66-5ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcap2-1-2.66-5ubuntu2.2.md) | Feb 19, 2025 |
| Linux | libcap2 Ubuntu 24.10 (oracular) | 1:2.66-5ubuntu3.1 | [libcap2 1:2.66-5ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libcap2-1-2.66-5ubuntu3.1.md) | Feb 20, 2025 |
| Linux | libcap2-bin Ubuntu 20.04 LTS (focal) | 1:2.32-1ubuntu0.2 | [libcap2-bin 1:2.32-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcap2-bin-1-2.32-1ubuntu0.2.md) | Feb 19, 2025 |
| Linux | libcap2-bin Ubuntu 22.04.1 LTS (jammy) | 1:2.44-1ubuntu0.22.04.2 | [libcap2-bin 1:2.44-1ubuntu0.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcap2-bin-1-2.44-1ubuntu0.22.04.2.md) | Feb 19, 2025 |
| Linux | libcap2-bin Ubuntu 24.04.5 LTS (noble) | 1:2.66-5ubuntu2.2 | [libcap2-bin 1:2.66-5ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libcap2-bin-1-2.66-5ubuntu2.2.md) | Feb 19, 2025 |
| Linux | libcap2-bin Ubuntu 24.10 (oracular) | 1:2.66-5ubuntu3.1 | [libcap2-bin 1:2.66-5ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libcap2-bin-1-2.66-5ubuntu3.1.md) | Feb 20, 2025 |
| Linux | libpam-cap Ubuntu 20.04 LTS (focal) | 1:2.32-1ubuntu0.2 | [libpam-cap 1:2.32-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpam-cap-1-2.32-1ubuntu0.2.md) | Feb 19, 2025 |
| Linux | libpam-cap Ubuntu 22.04.1 LTS (jammy) | 1:2.44-1ubuntu0.22.04.2 | [libpam-cap 1:2.44-1ubuntu0.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpam-cap-1-2.44-1ubuntu0.22.04.2.md) | Feb 19, 2025 |
| Linux | libpam-cap Ubuntu 24.04.5 LTS (noble) | 1:2.66-5ubuntu2.2 | [libpam-cap 1:2.66-5ubuntu2.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libpam-cap-1-2.66-5ubuntu2.2.md) | Feb 19, 2025 |
| Linux | libpam-cap Ubuntu 24.10 (oracular) | 1:2.66-5ubuntu3.1 | [libpam-cap 1:2.66-5ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libpam-cap-1-2.66-5ubuntu3.1.md) | Feb 20, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
