Description
PJSIP is a free and open source multimedia communication library written in C. Prior to commit 4472a31, a stack buffer overflow exists in the PJLIB-UTIL telnet CLI front-end when rendering feedback for an entered command line. Several command-line handling paths write an attacker-influenced amount of data into fixed-size buffers without sufficient bounds checking, so a long command line can overflow them. This affects only applications that enable the telnet CLI front-end (e.g. pj_cli_telnet_create() / --cli-telnet-port). The telnet CLI is an interactive administration interface with no authentication, so any client able to reach it can already issue arbitrary CLI commands. A malformed or overly long command line can overflow a fixed-size stack buffer while rendering command-line feedback, which may lead to application termination. Because reaching this code already requires access to the unauthenticated CLI, the impact beyond that existing access is limited. Applications that do not enable the telnet CLI front-end are not affected. This issue has been patched via commit 4472a31.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pjsip | pjproject | < 4472a31d77a7506ff175dad5abef490f4e31bed1 | — |
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 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | asterisk | No fix yet | — |
| Ubuntu 26.04 LTS | asterisk | No fix yet | — |
| Ubuntu 24.04 LTS | asterisk | No fix yet | — |
| Ubuntu 22.04 LTS | asterisk | No fix yet | — |
| Ubuntu 20.04 LTS | asterisk | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | asterisk | No fix yet | — |
| Ubuntu Pro 18.04 LTS | pjproject | No fix yet | — |
| Ubuntu Pro 16.04 LTS | asterisk +1 | No fix yet | — |
Advisories 1
- WID-SEC-2026-1983 PJSIP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 6, 2026