{"schemaVersion":4,"id":"CVE-2025-1390","aliases":["MGASA-2025-0082","UBUNTU-CVE-2025-1390","USN-7287-1","DEBIAN-CVE-2025-1390"],"status":"published","duplicateOf":null,"title":"pam_cap: Fix potential configuration parsing error","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.","dates":{"published":"2025-02-18T02:34:44.846Z","modified":"2026-10-15T01:01:58.054Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","exploitability":4.6,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","exploitability":4.6,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00176,"percentile":0.0745,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00176},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00176,"percentile":0.0745}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00255,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00176,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00176,"percentile":0.0745}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"debian","product":"libcap2","name":"libcap2","label":"libcap2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libcap2","purlType":"deb","versions":[{"text":"< 1:2.66-4+deb12u1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:2.66-4+deb12u1","endInclusive":false}},{"text":"< 1:2.73-4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:2.73-4","endInclusive":false}}],"versionsText":"< 1:2.66-4+deb12u1 | < 1:2.73-4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libcap2","name":"libcap2","label":"libcap2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libcap2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1:2.32-1ubuntu0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:2.32-1ubuntu0.2","endInclusive":false}},{"text":"< 1:2.44-1ubuntu0.22.04.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:2.44-1ubuntu0.22.04.2","endInclusive":false}},{"text":"< 1:2.66-5ubuntu2.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:2.66-5ubuntu2.2","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1:2.32-1ubuntu0.2 | < 1:2.44-1ubuntu0.22.04.2 | < 1:2.66-5ubuntu2.2","eol":null,"hubHref":null},{"vendor":"mageia","product":"libcap","name":"libcap","label":"libcap","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libcap","purlType":"rpm","versions":[{"text":"< 2.52-5.1.mga9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.52-5.1.mga9","endInclusive":false}}],"versionsText":"< 2.52-5.1.mga9","eol":null,"hubHref":null},{"vendor":"openanolis","product":"anolis os","name":"Anolis OS","label":"anolis os","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.73;0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.73;0","startInclusive":true,"end":"2.73;0","endInclusive":true}}],"versionsText":"2.73;0","eol":null,"hubHref":"/vendor/openanolis/anolis_os"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.openanolis.cn/show_bug.cgi?id=18804","label":"bugzilla.openanolis.cn/show_bug.cgi?id=18804","hostname":"bugzilla.openanolis.cn","tags":[]},{"url":"https://advisories.mageia.org/MGASA-2025-0082.html","label":"advisories.mageia.org/MGASA-2025-0082.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=34048","label":"bugs.mageia.org/show_bug.cgi?id=34048","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7287-1","label":"ubuntu.com/security/notices/USN-7287-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-1390","label":"ubuntu.com/security/CVE-2025-1390","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-1390","label":"www.cve.org/CVERecord?id=CVE-2025-1390","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-1390","label":"security-tracker.debian.org/tracker/CVE-2025-1390","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1390","label":"nvd.nist.gov/vuln/detail/CVE-2025-1390","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","label":"cert-portal.siemens.com/productcert/html/ssa-398330.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-089022.html","label":"cert-portal.siemens.com/productcert/html/ssa-089022.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["DLA-4092-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-02-18T02:34:44.846Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-15T01:01:58.054Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,61],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00176,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-15T01:01:58.054Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-10-15T01:01:58.054Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-10-15T01:01:58.054Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-10-15T01:01:58.054Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-02-18T15:08:39.991Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00176,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T11:16:59.273Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T11:16:59.802Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T11:16:59.995Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T11:01:01.512Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T11:16:57.726Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T11:16:56.764Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:47:33.322Z","stale":false,"partial":false}}