exuberant-ctags — security advisory
A flaw was found in Exuberant Ctags in the way it handles the "-o" option. This option specifies the tag filename. A crafted tag filename specified in the command line or in the configuration file results in arbitrary command execution because the externalSortTags() in sort.c calls the system(3) function in an unsafe way.
- Products
- exuberant-ctags
- Affected versions
- Not specified
- Fixed versions
- 1:5.9~svn20110310-18
- CVEs
- CVE-2022-4515
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 15:38 UTC · Revision 1
Source evidence
A flaw was found in Exuberant Ctags in the way it handles the "-o" option. This option specifies the tag filename. A crafted tag filename specified in the command line or in the configuration file results in arbitrary command execution because the externalSortTags() in sort.c calls the system(3) function in an unsafe way.
osv:DEBIAN-CVE-2022-4515
exuberant-ctags
Fixed versions: 1:5.9~svn20110310-18
exuberant-ctags
Fixed versions: 1:5.9~svn20110310-18
exuberant-ctags
Fixed versions: 1:5.9~svn20110310-18
Complete source record
{
"id": "2caec21a39fdba812784b994e06917caa76445b97ba17a2b60b31338d1f06074",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-4515",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-4515",
"summary": "A flaw was found in Exuberant Ctags in the way it handles the \"-o\" option. This option specifies the tag filename. A crafted tag filename specified in the command line or in the configuration file results in arbitrary command execution because the externalSortTags() in sort.c calls the system(3) function in an unsafe way.",
"evidence": "osv:DEBIAN-CVE-2022-4515",
"products": [
{
"name": {
"value": "exuberant-ctags",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:5.9~svn20110310-18",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "exuberant-ctags",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:5.9~svn20110310-18",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "exuberant-ctags",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:5.9~svn20110310-18",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2022-4515",
"aliases": [
"DEBIAN-CVE-2022-4515"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:5.9~svn20110310-18"
}
]
}
],
"package": {
"name": "exuberant-ctags",
"purl": "pkg:deb/debian/exuberant-ctags?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-4515.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:5.9~svn20110310-18"
}
]
}
],
"package": {
"name": "exuberant-ctags",
"purl": "pkg:deb/debian/exuberant-ctags?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-4515.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:5.9~svn20110310-18"
}
]
}
],
"package": {
"name": "exuberant-ctags",
"purl": "pkg:deb/debian/exuberant-ctags?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-4515.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T08:03:10.375473531Z",
"provider": "osv",
"upstream": [
"CVE-2022-4515"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-4515"
]
},
"related_cves": [
{
"value": "CVE-2022-4515",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 325518,
"published_at": "2022-12-20T19:15:25.19+00:00"
}