Description
Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEADER dialplan function can exceed the available buffer space for storing the new value of a header. By doing so this can overwrite memory or cause a crash. This is not externally exploitable, unless dialplan is explicitly written to update a header based on data from an outside source. If the 'update' functionality is not used the vulnerability does not occur. A patch is available at commit a1ca0268254374b515fa5992f01340f7717113fa.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| asterisk | asterisk | <= 18.20.0, >= 19.0.0, <= 20.5.0, = 21.0.0, <= 18.9-cert5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | asterisk | 1:20.8.1~dfsg+~cs6.14.40431414-1 | — |
| Debian 11 | asterisk | 1:16.28.0~dfsg-0+deb11u4 | DSA-5596-1 |
| Debian 10 | asterisk | 1:16.28.0~dfsg-0+deb10u4 | DLA-3696-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | asterisk | No fix yet | — |
| Ubuntu 26.04 LTS | asterisk | No fix yet | — |
| Ubuntu 25.10 | asterisk | No fix yet | — |
| Ubuntu 24.04 LTS | asterisk | No fix yet | — |
| Ubuntu 22.04 LTS | asterisk | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | asterisk | No fix yet | — |
| Ubuntu 18.04 LTS | asterisk | No fix yet | — |
| Ubuntu Pro 16.04 LTS | asterisk | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | asterisk | 20.5.1-r0 | — |
| Alpine v3.23 | asterisk | 20.5.1-r0 | — |
| Alpine v3.22 | asterisk | 20.5.1-r0 | — |
| Alpine v3.21 | asterisk | 20.5.1-r0 | — |
| Alpine v3.20 | asterisk | 20.5.1-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | asterisk | 20.5.1-r0 | — |
| Alpine v3.18 | asterisk | 18.20.2-r0 | — |
| Alpine v3.17 | asterisk | 18.20.2-r0 | — |
| Alpine v3.16 | asterisk | 18.20.2-r0 | — |
Advisories 3
- WID-SEC-2023-3158 Digium Certified Asterisk: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 12, 2026
- DSA-5596-1 asterisk - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3696-1 asterisk - security update Debian Security (DSA / DLA) · Mar 9, 2026