CVE-2025-1390 json
pam_cap: Fix potential configuration parsing error
published 2025-02-18 20 mo ago modified 2026-10-15 25 d ago also EUVD-2025-4857
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
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 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.
Patch / fix
- Siemens RUGGEDCOM RST2428P V3.3
- Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family V3.3
- Siemens SCALANCE XCH328 V3.3
- Siemens SCALANCE XCM324 V3.3
- Siemens SCALANCE XCM328 V3.3
- Siemens SCALANCE XCM332 V3.3
- Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) V3.3
- Siemens SCALANCE XRM334 (230 V AC, 12xFO) V3.3
- Siemens SCALANCE XRM334 (230 V AC, 8xFO) V3.3
- Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) V3.3
- Siemens SCALANCE XRM334 (24 V DC, 12xFO) V3.3
- Siemens SCALANCE XRM334 (24 V DC, 8xFO) V3.3
- Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) V3.3
- Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) V3.3
- Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) V3.3
- Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) V3.3
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- libcap2 Debian 12 1:2.66-4+deb12u1
- libcap2 Debian 14, Debian 13 1:2.73-4
debian advisories DEBIAN-CVE-2025-1390
- libcap2 Ubuntu 20.04 LTS 1:2.32-1ubuntu0.2
- libcap2 Ubuntu 22.04 LTS 1:2.44-1ubuntu0.22.04.2
- libcap2 Ubuntu 24.04 LTS 1:2.66-5ubuntu2.2
ubuntu advisories UBUNTU-CVE-2025-1390
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libcap CBL-Mariner 2.0 2.60-3
- libcap Azure Linux 3.0 2.69-2
azure linux advisories AZL-56916AZL-57034
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-1390 updated cvss 6.1
libcap: pam_cap: Fix potential configuration parsing error
-
Red Hat Enterprise Linux 6 libcap, compat-libcap1 Red Hat Enterprise Linux 7 libcap, compat-libcap1 Red Hat Enterprise Linux 8 libcap Red Hat Enterprise Linux 9 libcap Red Hat Enterprise Linux 10 libcap Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-043-06 updated cvss 6.1
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.3affected: fixed in V3.3 support.industry.siemens.com
-
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.3affected: fixed in V3.3
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) < 3.3 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) < 3.3 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) < 3.3 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) < 3.3 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) < 3.3 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) < 3.3affected: fixed in V3.3 support.industry.siemens.com
+8 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-3AR3) < 3.3
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N |
Affected products
- OpenAnolis Anolis OS
- Siemens RUGGEDCOM RST2428P
- Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
- Siemens SCALANCE XCH328
- Siemens SCALANCE XCM324
- Siemens SCALANCE XCM328
- Siemens SCALANCE XCM332
- Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC)
- Siemens SCALANCE XRM334 (230 V AC, 12xFO)
- Siemens SCALANCE XRM334 (230 V AC, 8xFO)
- Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)
- Siemens SCALANCE XRM334 (24 V DC, 12xFO)
- Siemens SCALANCE XRM334 (24 V DC, 8xFO)
- Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)
- Siemens SCALANCE XRM334 (2x230 V AC, 12xFO)
- Siemens SCALANCE XRM334 (2x230 V AC, 8xFO)
- Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
Sources
- CVE List CVE-2025-1390
- NVD CVE-2025-1390
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.