Bug 2531104 - CVE-2026-57166 asterisk: pre-authentication overflow in the telnet CLI error [fedora-all]
Summary: CVE-2026-57166 asterisk: pre-authentication overflow in the telnet CLI error ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: asterisk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["63c075d3-8ca5-4e9d-9e8e-f...
Depends On:
Blocks: CVE-2026-57166
TreeView+ depends on / blocked
 
Reported: 2026-09-09 17:29 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-09-11 19:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-09-11 19:36:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-09-09 17:29:26 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Peter Lemenkov 2026-09-11 19:36:04 UTC
Not applicable to Asterisk.

This is a flaw in PJLIB-UTIL's telnet CLI front-end (cli_telnet.c). The upstream advisory states it affects only applications that enable that front-end, and that applications which do not enable it are not affected.

Asterisk bundles pjproject but does not use its CLI framework. There are no references to pj_cli anywhere in the Asterisk source tree — Asterisk has its own unrelated CLI implementation. Nothing ever calls pj_cli_telnet_create(), so the vulnerable code is never reachable.

Closing as NOTABUG. Note this is a reachability determination rather than the code being absent: cli_telnet.c is still compiled into the bundled library, so this would need revisiting if a future version of Asterisk adopted pjproject's CLI framework.


Note You need to log in before you can comment on or make changes to this bug.