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.
Published: 2026-09-04
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PJSIP's telnet command line interface contains a stack-based buffer overflow that is triggered when a command history entry is recalled and the line is redrawn. When the recalled entry is longer than the fixed-size buffer used for the redraw, the overflow can corrupt the stack and cause the application to terminate. The overflow does not grant execution of arbitrary code, so the primary consequence is a denial‑of‑service to the running application.

Affected Systems

The vulnerability exists in the PJLIB-UTIL telnet CLI module that ships with pjproject from pjsip. Only installations that enable the telnet CLI front‑end are affected; applications that have disabled this front‑end are unaffected.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate severity, and the lack of an EPSS score or KEV listing means no public exploitation data is currently available. Exploitation requires access to the unauthenticated telnet CLI, which already allows arbitrary CLI commands. The additional impact of the overflow is limited to application termination, providing a denial‑of‑service vector rather than remote code execution.

Generated by OpenCVE AI on September 4, 2026 at 18:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch introduced by commit 628b716 to update pjproject to the fixed version
  • If a patch cannot be applied immediately, disable the telnet CLI front‑end in the application configuration to prevent the overflow from being reachable
  • Verify that the undeployed application does not respond to telnet connections and monitor for any telnet activity that could indicate an exploit attempt

Generated by OpenCVE AI on September 4, 2026 at 18:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title PJSIP: Pre-authentication overflow in the telnet CLI history
Weaknesses CWE-121
References
Metrics cvssV4_0

{'score': 6.3, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T17:12:01.043Z

Reserved: 2026-06-24T01:47:55.285Z

Link: CVE-2026-57165

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T18:17:54.863

Modified: 2026-09-04T18:17:54.863

Link: CVE-2026-57165

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T19:00:14Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow