Skip to content
Fencer Vulns
high 7.8

CVE-2023-2603 json

A vulnerability was found in libcap.

published 2023-06-06 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-34077

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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.

Patch / fix

  • libcap_project libcap 2.69
  • libcap2 Debian 14, Debian 13, Debian 12 1:2.66-4

debian advisories DEBIAN-CVE-2023-2603

  • libcap2 Ubuntu 20.04 LTS 1:2.32-1ubuntu0.1
  • libcap2 Ubuntu 22.04 LTS 1:2.44-1ubuntu0.22.04.1
  • libcap2 Ubuntu Pro 14.04 LTS 1:2.24-0ubuntu2+esm1
  • libcap2 Ubuntu Pro 16.04 LTS 1:2.24-12ubuntu0.1~esm1
  • libcap2 Ubuntu Pro 18.04 LTS 1:2.25-1.2ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2023-2603

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libcap RHEL 9 2.48-9.el9_2
  • libcap RHEL 8 2.48-5.el8_8
  • libcap RHEL 9.0 EUS 2.48-8.el9_0.1
  • libcap RHEL 8.6 EUS 2.48-4.el8_6

red hat advisories RHSA-2024:0436RHSA-2023:7400RHSA-2023:5071RHSA-2023:4524

  • libcap SLE Real Time 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +3 more 2.26-150000.4.9.1
  • libcap SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4, SLE Micro 5.4 +4 more 2.63-150400.3.3.1
  • libcap SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.26-14.9.1

suse advisories SUSE-SU-2023:2956-1SUSE-SU-2023:2765-1SUSE-SU-2023:2764-1

  • libcap AlmaLinux 9 2.48-9.el9_2
  • libcap AlmaLinux 8 2.48-5.el8_8

almalinux advisories ALSA-2023:5071ALSA-2023:4524

  • libcap Rocky Linux 8 2.48-5.el8_8

rocky linux advisories RLSA-2023:4524

  • libcap Alpine 3.15 2.61-r1
  • libcap Alpine 3.16 2.64-r1
  • libcap Alpine 3.17 2.66-r1

alpine advisories ALPINE-CVE-2023-2603

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libcap CBL-Mariner 2.0 2.60-2

azure linux advisories AZL-27065

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-2603 updated cvss 7.8

libcap: Integer Overflow in _libcap_strdup()

  • Red Hat Enterprise Linux 6 libcap, compat-libcap1 Red Hat Enterprise Linux 7 libcap, compat-libcap1
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) libcap-devel 2.48-9.el9_2, libcap-debuginfo 2.48-9.el9_2, libcap-debugsource 2.48-9.el9_2
    fixed: vendor fix RHSA-2023:5071
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) libcap-devel 2.48-8.el9_0.1, libcap-debuginfo 2.48-8.el9_0.1, libcap-debugsource 2.48-8.el9_0.1
    fixed: vendor fix RHSA-2024:0436
  • Red Hat Enterprise Linux BaseOS (v. 8) libcap 2.48-5.el8_8
    fixed: vendor fix RHSA-2023:4524
  • Red Hat Enterprise Linux BaseOS (v. 9) libcap 2.48-9.el9_2
    fixed: vendor fix RHSA-2023:5071
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) libcap 2.48-4.el8_6
    fixed: vendor fix RHSA-2023:7400
  • Red Hat Enterprise Linux BaseOS EUS (v.9.0) libcap 2.48-8.el9_0.1
    fixed: vendor fix RHSA-2024:0436

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
11 mo ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • x41-dsec.de https://www.x41-dsec.de/static/reports/X41-libcap-Code-Review-2023-OSTIF-Final-Report.pdf referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • n/a libcap

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.