CyberRota Analysis
AI-GeneratedPJSIP is vulnerable to a stack buffer overflow in the PJSUA component when processing Service-Route headers in registration responses, which can lead to unexpected application termination or potential memory corruption. This issue arises when a registrar returns an excessive number of Service-Route headers, allowing data to be written past the end of a fixed-size array. Developers and organizations utilizing PJSUA/PJSUA2 for multimedia communication should prioritize applying the patch to mitigate the risk of denial of service and potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)