CVE Catalog

CVE-2025-1390

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

The PAM module pam_cap.so of libcap configuration supports group names starting with "@", but during actual parsing, configurations not starting with "@" are incorrectly recognized as group names. This may result in unintended 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.

Risk Assessment

A local attacker may gain inherited capabilities intended for other users, leading to privilege escalation. The risk affects systems using /etc/security/capability.conf for privilege configuration.

Recommendation

Update libcap to a version containing the fix for CVE-2025-1390. Review /etc/security/capability.conf for entries that may be misinterpreted as group names.

Other vulnerabilities in libcap

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS