CVE-2023-2603: Integer Overflow

Published May 16, 2023
·
Updated

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

Other sources

Original Report:

Source: libcap2 Version: 1:2.66-3 Severity: important Tags: security upstream X-Debbugs-Cc: carnil, Debian Security Team <team.org>

The following vulnerabilities were published for libcap2.

CVE-2023-2603[1]: | LCAP-CR-23-02 (Large strings can confuse libcap's internal strdup code)

[1] https://security-tracker.debian.org/tracker/CVE-2023-2603 https://www.cve.org/CVERecord?id=CVE-2023-2603

fixed in 1:2.66-4

Red Hat

Affected Software

10 affected componentsFixes available
redhat/libcap<0:2.48-5.el8_8
0:2.48-5.el8_8
redhat/libcap<0:2.48-9.el9_2
0:2.48-9.el9_2
Libcap Project Libcap<2.66-4
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Debian Debian Linux=11.0
Libcap Project Libcap<2.69
debian/libcap2
1:2.66-4+deb12u31:2.75-10+deb13u11:2.78-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libcap to a version that resolves this vulnerability.

    Fixed in 0:2.48-5.el8_8
  2. Upgrade

    Upgrade redhat/libcap to a version that resolves this vulnerability.

    Fixed in 0:2.48-9.el9_2
  3. Upgrade

    Upgrade debian/libcap2 to a version that resolves this vulnerability.

    Fixed in 1:2.66-4+deb12u3Fixed in 1:2.75-10+deb13u1Fixed in 1:2.78-1
  4. Upgrade

    Upgrade libcap2 to a version that resolves this vulnerability.

    Fixed in 1:2.66-4Patch LCAP-CR-23-02

Event History

May 16, 2023
CVE Published
12:00 AM
May 22, 2023
Data Sourced
via Red Hat·04:54 PM
DescriptionSeverityAffected Software
Jun 6, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 2, 2026
Data Sourced
via Debian·03:41 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2023-2603.

2

What is the severity of CVE-2023-2603?

The severity of CVE-2023-2603 is high.

3

What is the affected software for CVE-2023-2603?

The affected software for CVE-2023-2603 is libcap2, libcap, Redhat Enterprise Linux, Fedora, and Debian Debian Linux.

4

How does CVE-2023-2603 occur?

CVE-2023-2603 occurs in the _libcap_strdup() function and can lead to an integer overflow if the input string is close to 4GiB.

5

Are there any fixes available for CVE-2023-2603?

Yes, there are fixes available for CVE-2023-2603. Please refer to the provided references for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203