Skip to main content
VulnerabilityPublished Updated

CVE-2026-57166: Asterisk · Prior to commit 4472a31, a stack buffer overflow exists in the PJLIB-UTIL telnet CLI

Affects asteriskSource GCVE Database

0
Compare
Authoritative record:CVE-2026-57166· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium.

Data as of 24 Nov 2026, 20:44 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10asteriskpkg:deb/ubuntu/asterisk?arch=source&distro=stonkingOther threatsAffected
  • =1:22.5.2~dfsg+~cs6.15.60671435-1
  • =1:22.10.0+dfsg+~cs6.17.60671434-1ubuntu2
  • =1:22.10.0+dfsg+~cs6.17.60671434-1ubuntu3
Fixed in–
Ubuntu 26.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=resoluteOther threatsAffected
  • =1:22.5.2~dfsg+~cs6.15.60671435-1
Fixed in–
Ubuntu 24.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=nobleOther threatsAffected
  • 1:20.4.0~dfsg+~cs6.13.40431414-2 – 1:20.6.0~dfsg+~cs6.13.40431414-2build5
9 affected builds
Fixed in–
Ubuntu 22.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=jammyOther threatsAffected
  • 1:16.16.1~dfsg-2 – 1:18.10.0~dfsg+~cs6.10.40431411-2
5 affected builds
Fixed in–
Ubuntu 20.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=focalOther threatsAffected
  • =1:16.2.1~dfsg-2build2
  • =1:16.2.1~dfsg-2build3
  • =1:16.2.1~dfsg-2ubuntu1
Fixed in–
Ubuntu 18.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=bionicOther threatsAffected
  • 1:13.17.2~dfsg-1ubuntu1 – 1:13.18.3~dfsg-1ubuntu4
7 affected builds
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.

References

Community reviews

Loading reviews…