CVEfocus › CVE database › CVE-2023-2603

CVE-2023-2603

CVSS 7.8 HighEPSS 0.4% (higher than 30% of CVEs)Published 2023-06-06Updated 2025-12-02Assigner: redhat

A vulnerability was found in libcap. This issue occurs in the _libcap_strdup() function and can lead to an integer overflow if the input string is close to 4GiB.

CWE-190

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
3Fix pending
6Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libcap2Fixed1:2.44-1ubuntu0.22.04.1UBUNTU-CVE-2023-2603
Ubuntu 20.04libcap2Fixed1:2.32-1ubuntu0.1UBUNTU-CVE-2023-2603
Ubuntu 18.04libcap2Fix pending1:2.25-1.2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-2603
Ubuntu 16.04libcap2Fix pending1:2.24-12ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-2603
Ubuntu 14.04libcap2Fix pending1:2.24-0ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-2603
Debian 14libcap2Fixed1:2.66-4DEBIAN-CVE-2023-2603
Debian 13libcap2Fixed1:2.66-4DEBIAN-CVE-2023-2603
Debian 12libcap2Fixed1:2.66-4DEBIAN-CVE-2023-2603
Red Hat Enterprise Linux 9libcapFixed0:2.48-9.el9_2RHSA-2023:5071
Red Hat Enterprise Linux 9libcap-develFixed0:2.48-9.el9_2RHSA-2023:5071
Red Hat Enterprise Linux 8libcapFixed0:2.48-5.el8_8RHSA-2023:4524
Red Hat Enterprise Linux 8libcap-develFixed0:2.48-5.el8_8RHSA-2023:4524
Red Hat Enterprise Linux 7compat-libcap1Will not fix
Out of support scope
Red Hat Enterprise Linux 7libcapWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcap-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6compat-libcap1Will not fix
Out of support scope
Red Hat Enterprise Linux 6libcapWill not fix
Out of support scope
Red Hat Enterprise Linux 6libcap-develWill not fix
Out of support scope
AlmaLinux 9libcapFixed2.48-9.el9_2ALSA-2023:5071
AlmaLinux 9libcap-develFixed2.48-9.el9_2ALSA-2023:5071
AlmaLinux 8libcapFixed2.48-5.el8_8ALSA-2023:4524
AlmaLinux 8libcap-develFixed2.48-5.el8_8ALSA-2023:4524
Rocky Linux 8libcapFixed0:2.48-5.el8_8RLSA-2023:4524
Alpine Linux 3.17libcapFixed2.66-r1ALPINE-CVE-2023-2603
Alpine Linux 3.16libcapFixed2.64-r1ALPINE-CVE-2023-2603
Alpine Linux 3.15libcapFixed2.61-r1ALPINE-CVE-2023-2603

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.