Home › CVE › Vulnerabilities
CVE-2026-57161 — pjsip pjproject
Summary
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.
Severity breakdown
High · 8.8
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on availability, low on integrity, none on confidentiality
- Impact on other systems
- none
Weakness
- CWE-121: Stack-based Buffer Overflow
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| pjsip pjproject | < acc03b57cef7a7d31b8e1f5b9117437d7e87c591 | — |
References by type
Patches and fixed releases
Affected
- pjsip pjproject
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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 (updateserviceroute() in pjsuaacc.c). This affects applications that register using the PJSUA/PJSUA2 account API (the default registration path). Weakness type: Stack-based Buffer Overflow (CWE-121).
How severe is CVE-2026-57161?
CVE-2026-57161 has a CVSS 4.0 base score of 8.8 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-57161 being exploited?
Not as far as is known: CVE-2026-57161 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-57161?
pjsip pjproject < acc03b57cef7a7d31b8e1f5b9117437d7e87c591.
How do I fix CVE-2026-57161?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.