Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-57166 EUVD-2026-71660

PJSIP: Pre-authentication overflow in the telnet CLI error

Published Sep 4, 2026 · Updated Sep 9, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 asterisk No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

References