CVE-2026-57166: Asterisk · Prior to commit 4472a31, a stack buffer overflow exists in the PJLIB-UTIL telnet CLI
Affects asteriskSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 24 Nov 2026, 20:44 UTC
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10asteriskpkg:deb/ubuntu/asterisk?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.