Stack-based buffer overflow in pjsip - CVE-2026-57162

 

Stack-based buffer overflow in pjsip - CVE-2026-57162

Published: August 3, 2026


Vulnerability identifier: #VU140811
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-57162
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to stack-based buffer overflow in sdes_encode_sdp() in transport_srtp_sdes.c when processing a=crypto attributes during SDP offer/answer. A remote attacker can send a specially crafted SIP INVITE with excessive a=crypto attributes to execute arbitrary code.

Only applications with SRTP enabled using SDES keying are vulnerable, and the issue is reachable before application-level authentication during media negotiation.


Affected software

pjsip

How to mitigate CVE-2026-57162

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.


External References