Stack-based buffer overflow in pjsip - CVE-2026-57161

 

Stack-based buffer overflow in pjsip - CVE-2026-57161

Published: August 3, 2026


Vulnerability identifier: #VU140810
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-57161
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to stack-based buffer overflow in update_service_route() in pjsua_acc.c when processing Service-Route headers in a registration response. A remote attacker can send a specially crafted registration response with an excessive number of Service-Route headers to cause a denial of service.

The issue affects applications that use the PJSUA/PJSUA2 account API for registration, and the malicious response may originate from a compromised or malicious registrar or from a spoofed response over unprotected transports.


Affected software

pjsip

How to mitigate CVE-2026-57161

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.


External References