CVE-2026-57165Teluu Pjsip stack-based buffer overflow
CVSS score
6.3
Medium
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.45%
0.45% chance of exploitation in the next 30 days, higher than 40.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running teluu Pjsip, pjsip Pjproject and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| teluu Pjsip | ≤ 2.17 |
| pjsip Pjproject | < 628b71638465bacf66e767959e6acbab822eccd6 |
Weakness
- CWE-121 stack-based buffer overflow
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-57165 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-57165?
CVE-2026-57165 has a CVSS 4.0 base score of 6.3 (medium).
Which versions are affected?
Teluu Pjsip (≤ 2.17), Pjsip Pjproject (< 628b71638465bacf66e767959e6acbab822eccd6)
Is there a patch for CVE-2026-57165?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.