HighFix available
libcap — security advisory
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.
- Products
- libcap
- Affected versions
- Not specified
- Fixed versions
- 2.61-r1, 2.64-r1, 2.66-r1
- CVEs
- CVE-2023-2603
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 14:55 UTC · Revision 1
Source evidence
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.
osv:ALPINE-CVE-2023-2603
libcap
Fixed versions: 2.61-r1
libcap
Fixed versions: 2.64-r1
libcap
Fixed versions: 2.66-r1
Complete source record
{
"id": "0f2f2ffb87ee0427e97e4f78049ea8bcf1b6606f5685ae98960eb7edf1fa3fa4",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-2603",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2023-2603",
"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.",
"evidence": "osv:ALPINE-CVE-2023-2603",
"products": [
{
"name": {
"value": "libcap",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.61-r1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libcap",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.64-r1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libcap",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.66-r1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "ALPINE-CVE-2023-2603",
"aliases": [
"ALPINE-CVE-2023-2603"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.61-r1"
}
]
}
],
"package": {
"name": "libcap",
"purl": "pkg:apk/alpine/libcap?arch=source",
"ecosystem": "Alpine:v3.15"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-2603.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.64-r1"
}
]
}
],
"package": {
"name": "libcap",
"purl": "pkg:apk/alpine/libcap?arch=source",
"ecosystem": "Alpine:v3.16"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-2603.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.66-r1"
}
]
}
],
"package": {
"name": "libcap",
"purl": "pkg:apk/alpine/libcap?arch=source",
"ecosystem": "Alpine:v3.17"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-2603.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-26T17:17:58.613648948Z",
"provider": "osv",
"upstream": [
"CVE-2023-2603"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2023-2603"
]
},
"related_cves": [
{
"value": "CVE-2023-2603",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 454397,
"published_at": "2023-06-06T20:15:13.187+00:00"
}