Skip to main content
CVE-2025-1390VulnerabilityPublished Updated

Libcap2: The PAM module pam_cap.so of libcap configuration supports group names starting with “@”, during actual

Affects libcap2Source GCVE Database

0
Compare
Authoritative record:CVE-2025-1390· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium · fixed in 1:2.32-1ubuntu0.2 : update libcap2 when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1:2.32-1ubuntu0.2, 1:2.44-1ubuntu0.22.04.2, 1:2.66-5ubuntu2.2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu libcap2 to 1:2.32-1ubuntu0.2 (package) or 1:2.44-1ubuntu0.22.04.2 (package) or 1:2.66-5ubuntu2.2 (package).

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibcap2pkg:deb/ubuntu/libcap2?arch=source&distro=nobleOther threatsAffected
  • <1:2.66-5ubuntu2.2
Fixed in
  • 1:2.66-5ubuntu2.2
Ubuntu 22.04 LTSlibcap2pkg:deb/ubuntu/libcap2?arch=source&distro=jammyOther threatsAffected
  • <1:2.44-1ubuntu0.22.04.2
Fixed in
  • 1:2.44-1ubuntu0.22.04.2
Ubuntu 20.04 LTSlibcap2pkg:deb/ubuntu/libcap2?arch=source&distro=focalOther threatsAffected
  • <1:2.32-1ubuntu0.2
Fixed in
  • 1:2.32-1ubuntu0.2
Ubuntu Pro 18.04 LTSlibcap2pkg:deb/ubuntu/libcap2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 1:2.25-1.1 – 1:2.25-1.2ubuntu0.1~esm2
4 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSlibcap2pkg:deb/ubuntu/libcap2?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • 1:2.24-9 – 1:2.24-12ubuntu0.1~esm2
4 affected builds
Fixed in–
Ubuntu Pro 14.04 LTSlibcap2pkg:deb/ubuntu/libcap2?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • 1:2.22-1.2ubuntu2 – 1:2.24-0ubuntu2+esm2
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…