CVE-2026-57162
published high CVSS 4.0 · 8.8PJSIP: Stack overflow parsing SDP a=crypto attributes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pjsip | — | pjproject< a1b707c0c9b0506faf2a8a438b60f11ffd6a6fd9 | Affected | Not stated | GitHub_M |
Description
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.
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:H/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 | < a1b707c0c9b0506faf2a8a438b60f11ffd6a6fd9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-121 CWE-121: Stack-based Buffer Overflow
References
2Provider assertions
2GitHub_M · cna
PJSIP: Stack overflow parsing SDP a=crypto attributes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63400f4fbf44c4dd6217623a12946884432db0754a7cc7b08648b54890dd05db
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record