CVE-2026-57159
Out-of-bounds read/write in PJSIP SDP negotiator (opt-in remote PT-map feature)
CVE-2026-57159 is a remote out-of-bounds read and write in the SDP negotiator of pjmedia, the media-stack component of the open-source PJSIP multimedia communication library written in C. The flaw is in assign_pt_and_update_map() in pjmedia/src/pjmedia/sdp_neg.c, which 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 message can cause memory access outside those tables. An attacker who can deliver crafted SDP to a vulnerable endpoint gains memory corruption that can crash the process and cause denial of service; code execution is possible in principle but not demonstrated. Only deployments that explicitly enable the non-default PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP interoperability option are affected, so default builds are not exposed. No public proof-of-concept, no CISA KEV listing, and no known exploitation; EPSS is low at 0.3% probability of exploitation in 30 days.
What to do: If you build or deploy PJSIP with PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP enabled, update to a revision that includes patch commit 673b978 (the advisory data specifies the commit, not a release number). As an interim mitigation, disable the maintain-remote-PT-map option or restrict SDP ingestion to trusted peers; default builds with the flag disabled need no action. Integrators shipping PJSIP-based softphones, SDKs, and telephony devices should check their build configuration for the flag before triaging.
| PJSIP project (Teluu) PJSIP / pjmedia (SDP negotiator, pjmedia/src/pjmedia/sdp_neg.c) | all revisions prior to commit 673b978, when the PJMEDIA_SDP_NEG_MAINTAIN_REMOTE_PT_MAP option is enabled (default builds with the option disabled are not affect |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Vendors
- teluu
- Products
- pjsip
- Weakness
- CWE-129, CWE-787
- Vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.