CVE-2025-1390

pam_cap: Fix potential configuration parsing error

State
Published
Severity
6.1 Medium
Published
Feb 18, 2025
Updated
Oct 15, 2026
Reserved
Feb 17, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NAnolis

Weaknesses

Affected Products

ProductVersions
Anolis OSOpenAnolis
  • 2.73;0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.