{"id":"UBUNTU-CVE-2023-2602","details":"A vulnerability was found in the pthread_create() function in libcap. This issue may allow a malicious actor to use cause __real_pthread_create() to return an error, which can exhaust the process memory.","modified":"2026-04-22T16:38:48.121335Z","published":"2023-05-15T00:00:00Z","related":["USN-6166-1"],"upstream":["CVE-2023-2602"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-2602"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2023/05/15/4"},{"type":"REPORT","url":"https://www.x41-dsec.de/static/reports/X41-libcap-Code-Review-2023-OSTIF-Final-Report.pdf"},{"type":"REPORT","url":"https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.iuvg7sbjg8pe"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6166-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-2602"}],"affected":[{"package":{"name":"libcap2","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libcap2@1:2.24-0ubuntu2+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.22-1.2ubuntu2","1:2.24-0ubuntu1","1:2.24-0ubuntu2","1:2.24-0ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcap2","binary_version":"1:2.24-0ubuntu2+esm1"},{"binary_name":"libcap2-bin","binary_version":"1:2.24-0ubuntu2+esm1"},{"binary_name":"libpam-cap","binary_version":"1:2.24-0ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2602.json"}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libcap2@1:2.24-12ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.24-9","1:2.24-12","1:2.24-12ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcap2","binary_version":"1:2.24-12ubuntu0.1~esm1"},{"binary_name":"libcap2-bin","binary_version":"1:2.24-12ubuntu0.1~esm1"},{"binary_name":"libpam-cap","binary_version":"1:2.24-12ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2602.json"}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libcap2@1:2.25-1.2ubuntu0.1~esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.25-1.1","1:2.25-1.2","1:2.25-1.2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcap2","binary_version":"1:2.25-1.2ubuntu0.1~esm1"},{"binary_name":"libcap2-bin","binary_version":"1:2.25-1.2ubuntu0.1~esm1"},{"binary_name":"libpam-cap","binary_version":"1:2.25-1.2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2602.json"}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcap2@1:2.32-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.32-1ubuntu0.1"}]}],"versions":["1:2.25-2","1:2.27-1","1:2.32-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcap2","binary_version":"1:2.32-1ubuntu0.1"},{"binary_name":"libcap2-bin","binary_version":"1:2.32-1ubuntu0.1"},{"binary_name":"libpam-cap","binary_version":"1:2.32-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2602.json"}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcap2@1:2.44-1ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.44-1ubuntu0.22.04.1"}]}],"versions":["1:2.44-1build1","1:2.44-1build2","1:2.44-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libcap2","binary_version":"1:2.44-1ubuntu0.22.04.1"},{"binary_name":"libcap2-bin","binary_version":"1:2.44-1ubuntu0.22.04.1"},{"binary_name":"libpam-cap","binary_version":"1:2.44-1ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2602.json"}},{"package":{"name":"libcap2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcap2@1:2.66-4ubuntu1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.66-4ubuntu1"}]}],"ecosystem_specific":{"binaries":[{"binary_name":"libcap2","binary_version":"1:2.66-4ubuntu1"},{"binary_name":"libcap2-bin","binary_version":"1:2.66-4ubuntu1"},{"binary_name":"libpam-cap","binary_version":"1:2.66-4ubuntu1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2602.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"low"}]}