CVE-2026-57159
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
PJSIP is a free and open source multimedia communication library written in C. Prior to commit 673b978, a remote out-of-bounds read and write can occur in the SDP negotiator when the remote payload-type map maintenance feature is enabled. assign_pt_and_update_map() in pjmedia/src/pjmedia/sdp_neg.c uses payload-type numbers taken from a remote SDP offer or answer to index fixed-size internal tables without sufficient bounds validation, so a crafted remote SDP can cause memory access outside those tables. The practical impact is memory corruption and denial of service; code execution is not demonstrated. This path is only reached when PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP is enabled. The default is disabled, so default builds are not affected; the feature is an interoperability option that integrating products may enable. This issue has been patched via commit 673b978.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| pjsip | pjproject | < 673b978aab1fe3ab874247be32c871acc880cbeb | affected |
Weaknesses
- CWE-129: CWE-129: Improper Validation of Array Index
- CWE-787: CWE-787: Out-of-bounds Write
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-rfwg-w9gq-9mw2
- https://github.com/pjsip/pjproject/commit/673b978aab1fe3ab874247be32c871acc880cbeb
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.