Home › CVE › Crypto & wallets
CVE-2026-57162 — pjsip pjproject
Summary
PJSIP is a free and open source multimedia communication library written in C. Prior to commit a1b707c, a stack buffer overflow exists in the SRTP/SDES media transport when processing a=crypto attributes during SDP offer/answer (sdes_encode_sdp() in transport_srtp_sdes.c). This affects applications with SRTP enabled (use_srtp optional or mandatory, using SDES keying). During media negotiation, the crypto attributes from the remote SDP are collected into a fixed-size array without bounding their number; a remote peer that includes an excessive number of a=crypto attributes in a single media description can write past the end of that array on the stack. This is reachable from an incoming SIP INVITE during offer/answer, before application-level authentication. Impact may range from unexpected application termination to control flow hijack/memory corruption. Applications that do not enable SRTP are not affected. This issue has been patched via commit a1b707c.
Severity breakdown
High · 8.8
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- high on integrity and availability, none on confidentiality
- Impact on other systems
- none
Weakness
- CWE-121: Stack-based Buffer Overflow
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| pjsip pjproject | < a1b707c0c9b0506faf2a8a438b60f11ffd6a6fd9 | — |
References by type
Patches and fixed releases
Affected
- pjsip pjproject
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-57162?
PJSIP is a free and open source multimedia communication library written in C. Prior to commit a1b707c, a stack buffer overflow exists in the SRTP/SDES media transport when processing a=crypto attributes during SDP offer/answer (sdesencodesdp() in transportsrtpsdes.c). This affects applications with SRTP enabled (usesrtp optional or mandatory, using SDES keying). Weakness type: Stack-based Buffer Overflow (CWE-121).
How severe is CVE-2026-57162?
CVE-2026-57162 has a CVSS 4.0 base score of 8.8 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-57162 being exploited?
Not as far as is known: CVE-2026-57162 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-57162?
pjsip pjproject < a1b707c0c9b0506faf2a8a438b60f11ffd6a6fd9.
How do I fix CVE-2026-57162?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.