Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-57161— PJSIP: Stack overflow handling Service-Route headers in a registration response

Quick assessment

Affected
pjsip pjproject
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PJSIP 是一个用 C 语言编写的免费开源多媒体通信库。在提交 acc03b5 之前,PJSUA 在处理注册响应中的 Service-Route 头部时存在栈缓冲区溢出漏洞(位于 pjsua_acc.c 中的 函数)。该漏洞影响使用 PJSUA/PJSUA2 账户 API 进行注册的应用程序(默认注册路径)。 来自针对 REGISTER 请求的 2xx 响应中的 Service-Route URI 被存储到一个固定大小的数组中,且未对头部数量进行限制;如果注册服务器返回过量的 Service-Route 头部,就

CVSS 8.8 · High

Possible ATT&CK Techniques 1 AI

T1557 · Adversary-in-the-Middle

Affected Version Matrix 1

VendorProduct Version RangeStatus
pjsip pjproject < acc03b57cef7a7d31b8e1f5b9117437d7e87c591 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-57161

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PJSIP: Stack overflow handling Service-Route headers in a registration response
Source: CVE Program / CVE List V5
Vulnerability Description
PJSIP is a free and open source multimedia communication library written in C. Prior to commit acc03b5, a stack buffer overflow exists in PJSUA when processing Service-Route headers in a registration response (update_service_route() in pjsua_acc.c). This affects applications that register using the PJSUA/PJSUA2 account API (the default registration path). The Service-Route URIs from a 2xx response to REGISTER are stored into a fixed-size array without bounding the number of headers; a registrar that returns an excessive number of Service-Route headers can write past the end of the array on the stack. The values written are internal pointers rather than arbitrary data, so the most likely impact is unexpected application termination (denial of service), though memory corruption cannot be excluded. The malicious response may come from a compromised or malicious registrar, or — over unprotected transports — a spoofed response. This issue has been patched via commit acc03b5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
pjsip pjproject < acc03b57cef7a7d31b8e1f5b9117437d7e87c591 -

II. Public POCs for CVE-2026-57161

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-57161

登录查看更多情报信息。

Patches & Fixes for CVE-2026-57161 (1)

Vendor Advisories for CVE-2026-57161 (1)

Same Patch Batch · pjsip · 2026-09-04 · 8 CVEs total

CVE-2026-57163 8.8 HIGH PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend
CVE-2026-57162 8.8 HIGH PJSIP: Stack overflow parsing SDP a=crypto attributes
CVE-2026-57159 8.4 HIGH PJSIP: SDP parser out-of-bounds write in remote payload-type map maintenance
CVE-2026-57164 8.3 HIGH PJSIP: Heap overflow in the HTTP client
CVE-2026-57160 6.9 MEDIUM PJSIP: SIP message header buffer overflow
CVE-2026-57165 6.3 MEDIUM PJSIP: Pre-authentication overflow in the telnet CLI history
CVE-2026-57166 6.3 MEDIUM PJSIP: Pre-authentication overflow in the telnet CLI error

IV. Related Vulnerabilities

V. Comments for CVE-2026-57161

No comments yet


Leave a comment