---
id: CVE-2025-1390
title: >-
  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
summary: >-
  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 g…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N'
cwe:
  - CWE-284
published: '2025-02-18'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:17:24.487'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-1390'
references:
  - url: 'https://bugzilla.openanolis.cn/show_bug.cgi?id=18804'
    label: security@openanolis.org
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-089022.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00159
epssPercentile: 0.04586
ingestedAt: '2026-10-15T03:30:12.784Z'
vendor: OpenAnolis
product: libcap
affected:
  - libcap 2.73;0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-02-18T15:08:39.991616Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
