CVE-2026-57161
published high CVSS 4.0 · 8.8PJSIP: Stack overflow handling Service-Route headers in a registration response
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pjsip | — | pjproject< acc03b57cef7a7d31b8e1f5b9117437d7e87c591 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pjsip | pjproject | < acc03b57cef7a7d31b8e1f5b9117437d7e87c591 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-121 CWE-121: Stack-based Buffer Overflow
References
2Provider assertions
2GitHub_M · cna
PJSIP: Stack overflow handling Service-Route headers in a registration response
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8bd548e21a75aca5fc02ad4a5958bdc1c85047c59c5f138c13bdce6b3080eda4
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record