CVE-2026-57166: PJSIP - Buffer Overflow
- Cve: CVE-2026-57166
- Name: PJSIP - Buffer Overflow
- 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.
- Impact: Unauthenticated attackers can cause application termination, leading to denial of service.
- Remediation: Update to the version including commit 4472a31 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.00533
- Epss percentile: 0.45874
- Assignee: [email protected]
- Published at: 2026-09-04T18:17:55Z
- Age in days: 81
- Modified at: 2026-09-11T16:53:31Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-57166
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-121 | Stack-based Buffer Overflow |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pjsip/pjproject/commit/4472a31d77a7506ff175dad5abef490f4e31bed1 | nvd | Patch |
| https://github.com/pjsip/pjproject/security/advisories/GHSA-9c8q-h38q-p85j | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| teluu:pjsip | <= 2.17 | no | nvd | /v1/products/teluu/pjsip |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pjsip/pjproject | commit, fix, security_advisory | yes | /v1/repositories/pjsip/pjproject |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts