Bug 2531100 - CVE-2026-57165 asterisk: pre-authentication overflow in the telnet CLI history [epel-all]
Summary: CVE-2026-57165 asterisk: pre-authentication overflow in the telnet CLI histor...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: asterisk
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: EPEL Packagers SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["bcbeaab3-e284-4e26-a967-6...
Depends On:
Blocks: CVE-2026-57165
TreeView+ depends on / blocked
 
Reported: 2026-09-09 17:28 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-09-11 19:39 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-09-09 17:28:47 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 628b716, a stack buffer overflow exists in the PJLIB-UTIL telnet CLI front-end when redrawing the command line during history recall (handle_up_down() in cli_telnet.c). This affects only applications that enable the telnet CLI front-end (same gating as the related CLI issue). The line-redraw sequence for a recalled history entry can accumulate more data than a fixed-size stack buffer holds, which may lead to application termination. Exploitation requires access to the unauthenticated telnet CLI, which already permits arbitrary CLI commands, so the additional impact is limited. Applications that do not enable the telnet CLI front-end are not affected. This issue has been patched via commit 628b716.

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

This is a flaw in PJLIB-UTIL's telnet CLI front-end (handle_up_down() in 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 function is never reachable.

Closing as NOTABUG, matching the Fedora tracker (bug 2531101). 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.