{"id":"USN-8193-2","summary":"libcap2 vulnerability","details":"USN-8193-1 fixed a vulnerability in libcap. This update provides the\ncorresponding update for Ubuntu 14.04 LTS, Ubuntu 16.04 LTS,\nUbuntu 18.04 LTS, and Ubuntu 20.04 LTS.\n\nOriginal advisory details:\n\n Ali Raza discovered that libcap incorrectly handled file capability\n updates. A local attacker could possibly use this issue to inject or strip\n capabilities into arbitrary executables and escalate privileges.","modified":"2026-06-24T02:29:23.423232622Z","published":"2026-06-23T19:09:47Z","related":["UBUNTU-CVE-2026-4878"],"upstream":["CVE-2026-4878","UBUNTU-CVE-2026-4878"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8193-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-4878"}],"affected":[{"package":{"name":"libcap2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libcap2?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.24-0ubuntu2+esm2"}]}],"versions":["1:2.22-1.2ubuntu2","1:2.24-0ubuntu1","1:2.24-0ubuntu2","1:2.24-0ubuntu2+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"1:2.24-0ubuntu2+esm2","binary_name":"libcap2"},{"binary_version":"1:2.24-0ubuntu2+esm2","binary_name":"libcap2-bin"},{"binary_version":"1:2.24-0ubuntu2+esm2","binary_name":"libpam-cap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8193-2.json","cves_map":{"ecosystem":"Ubuntu:Pro:14.04:LTS","cves":[{"id":"CVE-2026-4878","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libcap2?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.24-12ubuntu0.1~esm2"}]}],"versions":["1:2.24-9","1:2.24-12","1:2.24-12ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"1:2.24-12ubuntu0.1~esm2","binary_name":"libcap2"},{"binary_version":"1:2.24-12ubuntu0.1~esm2","binary_name":"libcap2-bin"},{"binary_version":"1:2.24-12ubuntu0.1~esm2","binary_name":"libpam-cap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8193-2.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2026-4878","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libcap2?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.25-1.2ubuntu0.1~esm2"}]}],"versions":["1:2.25-1.1","1:2.25-1.2","1:2.25-1.2ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1:2.25-1.2ubuntu0.1~esm2","binary_name":"libcap2"},{"binary_version":"1:2.25-1.2ubuntu0.1~esm2","binary_name":"libcap2-bin"},{"binary_version":"1:2.25-1.2ubuntu0.1~esm2","binary_name":"libpam-cap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8193-2.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2026-4878","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libcap2?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.32-1ubuntu0.2+esm1"}]}],"versions":["1:2.25-2","1:2.27-1","1:2.32-1","1:2.32-1ubuntu0.1","1:2.32-1ubuntu0.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1:2.32-1ubuntu0.2+esm1","binary_name":"libcap2"},{"binary_version":"1:2.32-1ubuntu0.2+esm1","binary_name":"libcap2-bin"},{"binary_version":"1:2.32-1ubuntu0.2+esm1","binary_name":"libpam-cap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8193-2.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2026-4878","severity":[{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.7.5"}