USN-6166-1

Type: Security
Severity: Medium
Published: 2023-06-14
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

David Gstir discovered that libcap2 incorrectly handled certain return codes. An attacker could possibly use this issue to cause libcap2 to consume memory, leading to a denial of service. (CVE-2023-2602) Richard Weinberger discovered that libcap2 incorrectly handled certain long input strings. An attacker could use this issue to cause libcap2 to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2023-2603) Update Instructions: Run `sudo pro fix USN-6166-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libcap2 - 1:2.44-1ubuntu0.22.04.1 libcap2-bin - 1:2.44-1ubuntu0.22.04.1 libpam-cap - 1:2.44-1ubuntu0.22.04.1 libcap-dev - 1:2.44-1ubuntu0.22.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:05:06.465Z UTC.

Upstream Advisory

Affected Packages

  • libcap2 1:2.44-1ubuntu0.22.04.1-1:2.44-1ubuntu0.22.04.1

  • libcap2-bin 1:2.44-1ubuntu0.22.04.1-1:2.44-1ubuntu0.22.04.1

  • libpam-cap 1:2.44-1ubuntu0.22.04.1-1:2.44-1ubuntu0.22.04.1

  • libcap-dev 1:2.44-1ubuntu0.22.04.1-1:2.44-1ubuntu0.22.04.1

  • libcap2 1:2.32-1ubuntu0.1-1:2.32-1ubuntu0.1

  • libcap2-bin 1:2.32-1ubuntu0.1-1:2.32-1ubuntu0.1

  • libpam-cap 1:2.32-1ubuntu0.1-1:2.32-1ubuntu0.1

  • libcap-dev 1:2.32-1ubuntu0.1-1:2.32-1ubuntu0.1

Interested in being alerted when there are new versions of libcap2 and the other packages? Set up an alert.
USN-6166-1: libcap2 vulnerabilities | Package Alert