Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Teluu | Pjsip | <= 2.17 |
Related Weaknesses (CWE)
References
- https://github.com/pjsip/pjproject/commit/4472a31d77a7506ff175dad5abef490f4e31bePatch
- https://github.com/pjsip/pjproject/security/advisories/GHSA-9c8q-h38q-p85jPatchVendor Advisory
FAQ
What is CVE-2026-57166?
CVE-2026-57166 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 fo...
How severe is CVE-2026-57166?
CVE-2026-57166 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-57166?
Check the references section above for vendor advisories and patch information. Affected products include: Teluu Pjsip.