CVE-2023-2603

HIGH

libcap < 2.69 - Integer Overflow in _libcap_strdup()

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2023-2603. PoCs published by Pazhanivelmani.

AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2023-2603, targeting a vulnerability in the libcap library. The exploit includes a test case (`bug.c`) that demonstrates the vulnerability by manipulating capability structures and comparing them, which can lead to privilege escalation.

Description

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.

Exploits (1)

nomisec WORKING POC
by Pazhanivelmani · poc
https://github.com/Pazhanivelmani/external_libcap-Android10_r33_CVE-2023-2603

This repository contains a functional exploit PoC for CVE-2023-2603, targeting a vulnerability in the libcap library. The exploit includes a test case (`bug.c`) that demonstrates the vulnerability by manipulating capability structures and comparing them, which can lead to privilege escalation.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: libcap (POSIX capabilities library)
No auth needed
Prerequisites: Access to a system with vulnerable libcap library
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0057
EPSS Percentile 42.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-190
Status published
Products (6)
debian/debian_linux 11.0
fedoraproject/fedora 37
fedoraproject/fedora 38
libcap_project/libcap < 2.69
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
Published Jun 06, 2023
Tracked Since Feb 18, 2026