Buffer overflow in Pjsip Pjproject
CVE-2026-57161
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H.
EPSS exploit prediction
EPSS: 0.005 (38.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 38.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Pjsip Pjproject — versions < acc03b57cef7a7d31b8e1f5b9117437d7e87c591
- Teluu Pjsip
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-57161?
- CVE-2026-57161 is a high-severity vulnerability in Pjsip Pjproject, classified under Stack-based Buffer Overflow. CVSS score: 8.2/10. Published 2026-09-04.
- How severe is CVE-2026-57161?
- High severity. CVSS v3 base score is 8.2 out of 10.