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.
Published: 2026-09-04
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PJSIP contains a stack buffer overflow when processing Service‑Route headers in a registration response. The library stores these URIs in a fixed‑size array without checking the header count, allowing an attacker to send many Service‑Route headers and cause the stack to be overwritten. The overwritten data are internal pointers, so the most likely outcome is unexpected application termination, though additional memory corruption cannot be ruled out.

Affected Systems

The flaw affects applications that use the PJSUA/PJSUA2 account API to register with a SIP service. It exists in the pjproject library prior to the commit that fixed the issue.

Risk and Exploitability

The vulnerability has a CVSS score of 8.8 and is not listed in the CISA KEV catalog. EPSS information is not available. Exploitation requires a registrar that can return a malicious 2xx REGISTER response or, over unprotected transports, a spoofed response. The impact is primarily denial of service, potentially leading to application crash for a single affected instance.

Generated by OpenCVE AI on September 4, 2026 at 19:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade pjproject to a version that includes commit acc03b5 or later
  • Configure registration over a secure transport (TLS or SRTP) to prevent spoofed responses
  • Review and limit Service‑Route headers if possible to reduce stack usage

Generated by OpenCVE AI on September 4, 2026 at 19:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title PJSIP: Stack overflow handling Service-Route headers in a registration response
Weaknesses CWE-121
References
Metrics cvssV4_0

{'score': 8.8, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T17:11:33.488Z

Reserved: 2026-06-24T01:45:48.698Z

Link: CVE-2026-57161

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T18:17:54.193

Modified: 2026-09-04T18:17:54.193

Link: CVE-2026-57161

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T19:15:07Z

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow