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

- Severity: High 8.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 32% of CVEs (2026-11-30)
- Published: 2026-09-04T17:11:33.488Z
- Modified: 2026-09-11T15:34:41.290Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pjsip pjproject: < acc03b57cef7a7d31b8e1f5b9117437d7e87c591
- teluu pjsip: up to 2.17

## Every score

- GitHub_M: CVSS:4.0 8.8 High `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`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/pjsip/pjproject/security/advisories/GHSA-xc62-j9h2-mp84> (patch, vendor-advisory)
- <https://github.com/pjsip/pjproject/commit/acc03b57cef7a7d31b8e1f5b9117437d7e87c591> (patch)

## Sources

- CVE List: [CVE-2026-57161](https://www.cve.org/CVERecord?id=CVE-2026-57161), CVE Terms of Use, modified 2026-09-09
- NVD: [CVE-2026-57161](https://nvd.nist.gov/vuln/detail/CVE-2026-57161), Public domain, modified 2026-09-11

---

Page: https://cve.day/CVE-2026-57161 · Whole record: https://cve.day/CVE-2026-57161.json · Rebuilt by cve.day 2026-11-25T22:59:36.380Z
