
CVE catalog
CVE-2022-4515
exuberant-ctags: CVE-2022-4515
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.61% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | exuberant-ctags | sid | 1:5.9~svn20110310-20 | fixed |
| Debian | exuberant-ctags | forky | 1:5.9~svn20110310-20 | fixed |
| Debian | exuberant-ctags | trixie | 1:5.9~svn20110310-19 | fixed |
| Debian | exuberant-ctags | bookworm | 1:5.9~svn20110310-18 | fixed |
| Debian | universal-ctags | sid | 6.2.1-1 | not affected |
| Debian | universal-ctags | forky | 6.2.1-1 | not affected |
| Debian | universal-ctags | trixie | 5.9.20210829.0-2 | not affected |
| Debian | universal-ctags | bookworm | 5.9.20210829.0-1 | not affected |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-9 | vulnerable |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-10 | vulnerable |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-11 | vulnerable |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-11ubuntu0.1~esm1 | fixed |
| Ubuntu | exuberant-ctags | 18.04 | 1:5.9~svn20110310-11 | vulnerable |
| Ubuntu | exuberant-ctags | 18.04 | 1:5.9~svn20110310-11ubuntu0.1 | fixed |
| Ubuntu | exuberant-ctags | 20.04 | 1:5.9~svn20110310-12 | vulnerable |
| Ubuntu | exuberant-ctags | 20.04 | 1:5.9~svn20110310-12ubuntu0.1 | fixed |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-15 | vulnerable |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-16 | vulnerable |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-16build1 | vulnerable |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-16ubuntu0.22.04.1 | fixed |
| Suse | ctags | openstack cloud 9 | 5.8-8.3.1 | fixed |
| Suse | ctags | openstack cloud crowbar 9 | 5.8-8.3.1 | fixed |
| Suse | ctags | linux enterprise server for sap applications 12 sp4 | 5.8-8.3.1 | fixed |
| Suse | ctags | linux enterprise server 12 sp2-bcl | 5.8-8.3.1 | fixed |
| Suse | ctags | linux enterprise server 12 sp4-ltss | 5.8-8.3.1 | fixed |
| Suse | ctags | linux enterprise server 12 sp5 | 5.8-8.3.1 | fixed |
| Suse | ctags | linux enterprise server for sap applications 12 sp5 | 5.8-8.3.1 | fixed |
| Suse | ctags | linux enterprise module for development tools 15 sp4 | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise high performance computing 15 sp1-ltss | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise high performance computing 15 sp2-ltss | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise high performance computing 15 sp3-espos | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise high performance computing 15 sp3-ltss | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise real time 15 sp3 | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise server 15 sp1-ltss | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise server 15 sp2-ltss | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise server 15 sp3-ltss | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise server for sap applications 15 sp1 | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise server for sap applications 15 sp2 | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | linux enterprise server for sap applications 15 sp3 | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | enterprise storage 6 | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | enterprise storage 7 | 5.8-150000.3.3.1 | fixed |
| Suse | ctags | enterprise storage 7.1 | 5.8-150000.3.3.1 | fixed |
| Opensuse | ctags | leap 15.4 | 5.8-150000.3.3.1 | fixed |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-9 | vulnerable |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-10 | vulnerable |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-11 | vulnerable |
| Ubuntu | exuberant-ctags | pro | 1:5.9~svn20110310-11ubuntu0.1~esm1 | fixed |
| Ubuntu | exuberant-ctags | 18.04 | 1:5.9~svn20110310-11 | vulnerable |
| Ubuntu | exuberant-ctags | 18.04 | 1:5.9~svn20110310-11ubuntu0.1 | fixed |
| Ubuntu | exuberant-ctags | 20.04 | 1:5.9~svn20110310-12 | vulnerable |
| Ubuntu | exuberant-ctags | 20.04 | 1:5.9~svn20110310-12ubuntu0.1 | fixed |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-15 | vulnerable |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-16 | vulnerable |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-16build1 | vulnerable |
| Ubuntu | exuberant-ctags | 22.04 | 1:5.9~svn20110310-16ubuntu0.22.04.1 | fixed |
| Opensuse | ctags | tumbleweed | 5.8-12.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | exuberant-ctags | source | sid | 1:5.9~svn20110310-18 | not yet assigned | Not reported | [1026995] |
| Debian | exuberant-ctags | source | forky | 1:5.9~svn20110310-18 | not yet assigned | Not reported | [1026995] |
| Debian | exuberant-ctags | source | trixie | 1:5.9~svn20110310-18 | not yet assigned | Not reported | [1026995] |
| Debian | exuberant-ctags | source | bookworm | 1:5.9~svn20110310-18 | not yet assigned | Not reported | [1026995] |
| Debian | universal-ctags | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | universal-ctags | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | universal-ctags | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | universal-ctags | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Ubuntu | exuberant-ctags | deb | pro | 1:5.9~svn20110310-11ubuntu0.1~esm1 | Not reported | USN-5820-1 | Not reported |
| Ubuntu | exuberant-ctags | deb | 18.04 | 1:5.9~svn20110310-11ubuntu0.1 | Not reported | USN-5820-1 | Not reported |
| Ubuntu | exuberant-ctags | deb | 20.04 | 1:5.9~svn20110310-12ubuntu0.1 | Not reported | USN-5820-1 | Not reported |
| Ubuntu | exuberant-ctags | deb | 22.04 | 1:5.9~svn20110310-16ubuntu0.22.04.1 | Not reported | USN-5820-1 | Not reported |
| Suse | ctags | rpm | openstack cloud 9 | 5.8-8.3.1 | Not reported | SUSE-SU-2023:0224-1 | Not reported |
| Suse | ctags | rpm | openstack cloud crowbar 9 | 5.8-8.3.1 | Not reported | SUSE-SU-2023:0224-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server for sap applications 12 sp4 | 5.8-8.3.1 | Not reported | SUSE-SU-2023:0224-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server 12 sp2-bcl | 5.8-8.3.1 | Not reported | SUSE-SU-2023:0224-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server 12 sp4-ltss | 5.8-8.3.1 | Not reported | SUSE-SU-2023:0224-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server 12 sp5 | 5.8-8.3.1 | Not reported | SUSE-SU-2023:0224-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server for sap applications 12 sp5 | 5.8-8.3.1 | Not reported | SUSE-SU-2023:0224-1 | Not reported |
| Suse | ctags | rpm | linux enterprise module for development tools 15 sp4 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise high performance computing 15 sp1-ltss | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise high performance computing 15 sp2-ltss | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise high performance computing 15 sp3-espos | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise high performance computing 15 sp3-ltss | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise real time 15 sp3 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server 15 sp1-ltss | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server 15 sp2-ltss | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server 15 sp3-ltss | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server for sap applications 15 sp1 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server for sap applications 15 sp2 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | linux enterprise server for sap applications 15 sp3 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | enterprise storage 6 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | enterprise storage 7 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Suse | ctags | rpm | enterprise storage 7.1 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Opensuse | ctags | rpm | leap 15.4 | 5.8-150000.3.3.1 | Not reported | SUSE-SU-2023:0225-1 | Not reported |
| Ubuntu | exuberant-ctags | deb | pro | 1:5.9~svn20110310-11ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2022-4515 | Not reported |
| Ubuntu | exuberant-ctags | deb | 18.04 | 1:5.9~svn20110310-11ubuntu0.1 | Not reported | UBUNTU-CVE-2022-4515 | Not reported |
| Ubuntu | exuberant-ctags | deb | 20.04 | 1:5.9~svn20110310-12ubuntu0.1 | Not reported | UBUNTU-CVE-2022-4515 | Not reported |
| Ubuntu | exuberant-ctags | deb | 22.04 | 1:5.9~svn20110310-16ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2022-4515 | Not reported |
| Opensuse | ctags | rpm | tumbleweed | 5.8-12.1 | Not reported | OPENSUSE-SU-2024:12624-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [exuberant-ctags]Fixed
Details (2)
1:5.9~svn20110310-18· amd64 · bookwormFixed · Fixed:
1:5.9~svn20110310-18dsa · exuberant-ctags · debian · bookworm
1:5.9~svn20110310-18· arm64 · bookwormFixed · Fixed:
1:5.9~svn20110310-18dsa · exuberant-ctags · debian · bookworm
- [universal-ctags]Not affected
Details (2)
5.9.20210829.0-1· amd64 · bookwormNot affected
dsa · universal-ctags · debian · bookworm
5.9.20210829.0-1· arm64 · bookwormNot affected
dsa · universal-ctags · debian · bookworm
[openSUSE Tumbleweed]
Observed:
References
- [https://access.redhat.com/errata/RHSA-2023:2863]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_2863.json]
- [https://osv.dev/vulnerability/DLA-3254-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0224-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0225-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-4515]
- [https://osv.dev/vulnerability/USN-5820-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12624-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-4515]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1238.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]