Skip to main content
EPSS 0.5%top 56%

CVE-2026-57166: 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 exists in the PJLIB-UTIL telnet CLI front-end of the PJSIP pjproject library prior to commit 4472a31. This occurs when rendering feedback for an entered command line, where insufficient bounds checking allows a long command line to overflow fixed-size buffers. The vulnerability affects only applications that enable the telnet CLI front-end, which is an unauthenticated interactive administration interface. Exploitation requires access to this CLI, limiting impact beyond existing access. The issue has been patched in commit 4472a31.

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:56 UTC

Technical Analysis

PJSIP's pjproject library contained a stack-based buffer overflow (CWE-121) in its PJLIB-UTIL telnet CLI front-end before commit 4472a31. Multiple command-line handling paths write attacker-controlled data into fixed-size stack buffers without proper bounds checking, allowing a long command line to overflow these buffers during command-line feedback rendering. This vulnerability affects only applications that enable the telnet CLI front-end (e.g., via pj_cli_telnet_create() or --cli-telnet-port). The telnet CLI is unauthenticated, so any client able to connect can issue arbitrary CLI commands. The overflow may cause application termination. The vulnerability has been fixed by the referenced commit.

Potential Impact

The vulnerability can cause application termination due to stack buffer overflow when processing a malformed or overly long command line in the telnet CLI front-end. Since the telnet CLI is unauthenticated, any client with network access to this interface can trigger the overflow. However, because exploitation requires prior access to the unauthenticated CLI, the impact is limited to denial of service or potential application crash within that context. No further privilege escalation or remote code execution is indicated.

Mitigation Recommendations

This vulnerability has been patched in pjproject via commit 4472a31. 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. If the telnet CLI is enabled, disabling it can mitigate exposure. No additional mitigation is required beyond applying the official fix.

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: 6a9afe70acd9273b49f0e679

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

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

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

Views: 83

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