Vulnerability · Published Sep 4, 2026 · Assigned by GitHub_M

CVE-2026-57166PJSIP: Pre-authentication overflow in the telnet CLI error

Medium 6.3

In plain English

A medium-severity stack buffer overflow in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.5%top 54.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14asteriskno fix listedDEBIAN-CVE-2026-57166
Ubuntu:22.04:LTSasteriskno fix listedUBUNTU-CVE-2026-57166
Ubuntu:24.04:LTSasteriskno fix listedUBUNTU-CVE-2026-57166
Ubuntu:26.04:LTSasteriskno fix listedUBUNTU-CVE-2026-57166
Ubuntu:26.10asteriskno fix listedUBUNTU-CVE-2026-57166

Affected products (as reported)

VendorProductVersions
pjsip pjproject < 4472a31d77a7506ff175dad5abef490f4e31bed1

Weakness: CWE-121 · Vector: 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

References