CVE-2026-57165

published 4 Sep 2026 · updated 8 Sep 2026

PJSIP: Pre-authentication overflow in the telnet CLI history

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pjsip<628b71638465bacf66e767959e6acbab822eccd6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-57165 severity on Zeptric[![CVE-2026-57165](https://zeptric.io/badge/cve/CVE-2026-57165.svg)](https://zeptric.io/cve/CVE-2026-57165)