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.
🔗 CVE IDs covered (1)
📋 Description
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability? One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
🎯 Affected products3
- azl3 ctags 6.1.0-1 on Azure Linux 3.0
- cbl2 ctags 5.9.20220619.0-7 on CBL Mariner 2.0
- cm1 ctags 5.8-6 on CBL Mariner 1.0
✅ Remediation
KBCBL-Mariner Releases (Security Update) — fixed build 5.8-6 KBCBL-Mariner Releases (Security Update) — fixed build 5.9.20220619.0-7 KBCBL-Mariner Releases (Security Update) — fixed build 6.1.0-1