CVE-2026-23740
Description
Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2, when ast_coredumper writes its gdb init and output files to a directory that is world-writable (for example /tmp), an attacker with write permission(which is all users on a linux system) to that directory can cause root to execute arbitrary commands or overwrite arbitrary files by controlling the gdb init file and output paths. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.
How to fix
- sangoma asterisk20.18.2, 21.12.1, 22.8.2, 23.2.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sangoma asterisk | v < 20.18.2, 21.0.0 ≤ v < 21.12.1, 22.0.0 ≤ v < 22.8.2, 23.0.0 ≤ v < 23.2.2 | 20.18.2, 21.12.1, 22.8.2, 23.2.2 |
| sangoma certified_asterisk | 13.13.0, 16.8, 16.8.0, 18.9, 20.7 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.