{"id":"CVE-2026-57159","state":"PUBLISHED","title":"PJSIP: SDP parser out-of-bounds write in remote payload-type map maintenance","description":"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.","publishedAt":"2026-09-04T17:11:26.957Z","updatedAt":"2026-09-08T17:36:39.574Z","severity":{"score":8.4,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["pjsip pjproject"],"affected":[{"vendor":"pjsip","product":"pjproject","versions":[{"version":"< 673b978aab1fe3ab874247be32c871acc880cbeb","status":"affected"}]}],"references":["https://github.com/pjsip/pjproject/security/advisories/GHSA-rfwg-w9gq-9mw2","https://github.com/pjsip/pjproject/commit/673b978aab1fe3ab874247be32c871acc880cbeb"],"weaknesses":["CWE-129","CWE-787"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57159.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57159","state":"PUBLISHED","datePublished":"2026-09-04T17:11:26.957Z","dateUpdated":"2026-09-08T17:36:39.574Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-24T01:45:48.698Z"},"containers":{"cna":{"title":"PJSIP: SDP parser out-of-bounds write in remote payload-type map maintenance","descriptions":[{"lang":"en","value":"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":[{"vendor":"pjsip","product":"pjproject","versions":[{"version":"< 673b978aab1fe3ab874247be32c871acc880cbeb","status":"affected"}]}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-rfwg-w9gq-9mw2","name":"https://github.com/pjsip/pjproject/security/advisories/GHSA-rfwg-w9gq-9mw2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pjsip/pjproject/commit/673b978aab1fe3ab874247be32c871acc880cbeb","name":"https://github.com/pjsip/pjproject/commit/673b978aab1fe3ab874247be32c871acc880cbeb","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.4,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"CWE-129: Improper Validation of Array Index","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-04T17:11:26.957Z"},"source":{"advisory":"GHSA-rfwg-w9gq-9mw2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-08T17:35:53.472556Z","id":"CVE-2026-57159","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-08T17:36:39.574Z"}}]}}}