Skip to main content
EPSS 0.5%top 62%

CVE-2026-57165: CWE-121: Stack-based Buffer Overflow in pjsip pjproject

0
Medium
Published: 09/04/2026 (09/04/2026, 18:17:00 UTC)
Source: CVE Database V5
Vendor/Project: pjsip
Product: pjproject

Description

A stack-based buffer overflow vulnerability (CWE-121) exists in the PJLIB-UTIL telnet CLI front-end of the pjsip pjproject prior to commit 628b716. The flaw occurs during command line redraw when recalling history entries, potentially causing application termination. Exploitation requires access to the unauthenticated telnet CLI, which already allows arbitrary CLI commands, limiting additional impact. Applications not enabling the telnet CLI front-end are unaffected. This issue has been patched.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

pjsip

pjproject

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 00:34:59 UTC

Technical Analysis

PJSIP's pjproject contained a stack buffer overflow in the PJLIB-UTIL telnet CLI front-end, specifically in the handle_up_down() function in cli_telnet.c. When recalling command history, the line redraw sequence could accumulate more data than the fixed-size stack buffer can hold, leading to a buffer overflow and possible application termination. This vulnerability affects only applications that enable the telnet CLI front-end. Since the telnet CLI is unauthenticated and already allows arbitrary CLI commands, the incremental impact of this overflow is limited. The issue was fixed by commit 628b716.

Potential Impact

The vulnerability can cause application termination due to a stack-based buffer overflow when recalling command history via the telnet CLI front-end. However, exploitation requires access to the unauthenticated telnet CLI, which already permits arbitrary commands, so the additional impact is limited. Applications without the telnet CLI front-end are not affected.

Mitigation Recommendations

This vulnerability has been patched in pjproject via commit 628b716. Users should update to a version including this commit to remediate the issue. Applications that do not enable the telnet CLI front-end are not affected and require no action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-24T01:47:55.285Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9afe70acd9273b49f0e677

Added to database: 09/04/2026, 17:22:56 UTC

Last enriched: 10/18/2026, 00:34:59 UTC

Last updated: 10/18/2026, 06:48:18 UTC

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses