CVE-2025-1390
pam_cap: Fix potential configuration parsing error
Reported by anolis · Published February 18, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libcap | Amazon Linux | 2.54-1.amzn2.0.3, 2.48-2.amzn2023.0.4 |
| libcap-static | Amazon Linux | 2.54-1.amzn2.0.3, 2.48-2.amzn2023.0.4 |
| libcap-devel | Amazon Linux | 2.54-1.amzn2.0.3, 2.48-2.amzn2023.0.4 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Siemens | 3.3 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| SCALANCE XCM332 | Siemens | 3.3 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SCALANCE XCH328 | Siemens | 3.3 |
| SCALANCE XRM334 (230 V AC, 8xFO) | Siemens | 3.3 |
| SCALANCE XCM328 | Siemens | 3.3 |
| SCALANCE XRH334 (24 V DC, 8xFO, CC) | Siemens | 3.3 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenAnolis | Anolis OS | 2.73;0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE XCM332 | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE XRM334 (230 V AC, 8xFO) | 0 |
| Siemens | SCALANCE XCM328 | 0 |
| Siemens | SCALANCE XRH334 (24 V DC, 8xFO, CC) | 0 |
| OpenAnolis | Anolis OS | 2.73 |
| Siemens | SCALANCE XRM334 (230 V AC, 12xFO) | 0 |
| Siemens | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SCALANCE XCM324 | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 12xFO) | 0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 12xFO) | 0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 8xFO) | 0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 8xFO) | 0 |
| Siemens | SCALANCE XCH328 | 0 |
| Siemens | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
…and 1 more
Timeline
- Feb 18, 2025 EPSS Score (30 in total, the first dated here)
- Feb 18, 2025 CVE Published
- Feb 18, 2025 PoC Published (6 in total, the first dated here)
- Mar 2, 2025 Coalition ESS Score (10 in total, the first dated here)
- Mar 17, 2026 Security Advisory (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-1390
vulnetix vdb fixes CVE-2025-1390
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-1390/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart