Back to CVE catalog
CVE-2026-57166

Stack buffer overflow in PJLIB-UTIL telnet CLI front-end when rendering feedback

pjsip pjproject

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS summary v4.0

6.3Medium
Published:
Updated:
EPSS:
0.533%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:pjsippjprojectAffected versions:
< 4472a31d77a7506ff175dad5abef490f4e31bed1
Vendor:teluupjsipAffected versions:
≤ 2.17Show full version range for pjsip
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–2 of 2 · Page 1 of 1

CVSS scores and metrics5
GitHub_M · CVE List / CNA (cna)Primary6.3 / 10MediumCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

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
[email protected] · NVD (Secondary)6.3 / 10MediumCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

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
CVE-2026-57166 · OSV (source-vector)6.3 / 10MediumCVSS 4.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Attack requirements
Present
Subsequent confidentiality
None
Subsequent integrity
None
Subsequent availability
None

Source vector

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
[email protected] · NVD (Primary)5.3 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat · Red Hat VEX (adp)7.5 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories8

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences