cve.bz

CVE-2026-57166 teluu pjsip: Stack-based Buffer Overflow

6.3 mediumEPSS 0.5%Fix available

Medium (6.3) in teluu pjsip. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-57166 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57166?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57166?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57166 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
teluu:pjsipthrough 2.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14asteriskno fix listedDEBIAN-CVE-2026-57166
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moreasteriskno fix listedUBUNTU-CVE-2026-57166
UbuntuPro:16.04:LTSasterisk, pjprojectno fix listedUBUNTU-CVE-2026-57166
UbuntuPro:18.04:LTSpjprojectno fix listedUBUNTU-CVE-2026-57166

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat rates this vulnerability as an Important severity because an unauthenticated remote attacker can cause a complete denial of service by crashing the process over the network. Exploitation is possible when network-accessible telnet administration listeners accept arbitrary input without requiring prior authentication. However, overall exposure is constrained in common Red Hat deployments because the interactive telnet interface is an optional management feature that is not enabled by default.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57166.

References

Check your stackJSON