Skip to content
Heist/ feed
Back to feed
MediumFix available

libcap2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-1390

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.

Products
libcap2
Affected versions
1:2.66-4
Fixed versions
1:2.66-4+deb12u1, 1:2.73-4
CVEs
CVE-2025-1390
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:48 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-1390

core-osv · Original source

Published 18 Feb 2025, 03:15 UTC

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.

osv:DEBIAN-CVE-2025-1390

libcap2

Fixed versions: 1:2.66-4+deb12u1

libcap2

Fixed versions: 1:2.73-4

libcap2

Fixed versions: 1:2.73-4

Complete source record
{
  "id": "af3bcd7ad84593584f90cd9038841d52afb16e6746491e22a073b43f9baa7b20",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-1390",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-1390",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2025-1390",
    "products": [
      {
        "name": {
          "value": "libcap2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:2.66-4+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1:2.66-4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcap2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:2.73-4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libcap2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:2.73-4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2025-1390",
      "aliases": [
        "DEBIAN-CVE-2025-1390"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:2.66-4+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "libcap2",
            "purl": "pkg:deb/debian/libcap2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1:2.66-4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-1390.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:2.73-4"
                }
              ]
            }
          ],
          "package": {
            "name": "libcap2",
            "purl": "pkg:deb/debian/libcap2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-1390.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:2.73-4"
                }
              ]
            }
          ],
          "package": {
            "name": "libcap2",
            "purl": "pkg:deb/debian/libcap2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-1390.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:40.489836987Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-1390"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-1390"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-1390",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 328272,
  "published_at": "2025-02-18T03:15:10.447+00:00"
}