CVE-2026-57161

Description

A flaw was found in PJSIP. A stack buffer overflow exists in PJSUA when processing Service-Route headers in a registration response. A malicious registrar that returns an excessive number of Service-Route headers can exploit this to write past the end of the array on the stack. This can result in an unexpected application termination, leading to a Denial of Service (DoS). This vulnerability affects applications that register using the PJSUA/PJSUA2 account API (the default registration path).

Statement

This vulnerability is rated as having an Important impact because an unauthenticated network adversary or rogue registrar can trigger a stack-based buffer overflow, causing application termination or potential memory corruption without user interaction. Red Hat Enterprise Linux does not ship the PJSIP library in its core product lines, limiting exposure primarily to community repositories such as Fedora and EPEL. Applications utilizing PJSUA account registration APIs are susceptible when communicating over untrusted networks or connecting to malicious SIP endpoints.

Understanding the Weakness (CWE)

Availability

Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)

Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.

Integrity,Confidentiality,Availability,Access Control

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands; Bypass Protection Mechanism

Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of a program's implicit security policy.

Integrity,Confidentiality,Availability,Access Control,Other

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands; Bypass Protection Mechanism; Other

When the consequence is arbitrary code execution, this can often be used to subvert any other security service.

Frequently Asked Questions

Want to get errata notifications? Sign up here.