Vulnerability · Published Sep 4, 2026 · Assigned by GitHub_M

CVE-2026-57165PJSIP: Pre-authentication overflow in the telnet CLI history

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 39% of all known vulnerabilities).

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.5%top 60.6% 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 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.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
pjsip pjproject < 628b71638465bacf66e767959e6acbab822eccd6

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