PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-57162 pjsip CVE debrief

A stack buffer overflow vulnerability exists in the SRTP/SDES media transport of PJSIP, a free and open-source multimedia communication library written in C, when processing a=crypto attributes during SDP offer/answer. This affects applications with SRTP enabled. The issue has been patched via commit a1b707c. Defenders responsible for PJSIP-based applications, particularly those using SRTP, should assess exposure and apply the patch to prevent potential application termination or control flow hijack/memory corruption. The vulnerability is caused by a stack buffer overflow in the sdes_encode_sdp() function in transport_srtp_sdes.c. This occurs when a remote peer includes an number

Vendor
pjsip
Product
pjproject
CVSS
HIGH 8.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-04
Original CVE updated
2026-09-11
Advisory published
2026-09-04
Advisory updated
2026-09-11

Who should care

Defenders responsible for PJSIP-based applications, particularly those using SRTP, should assess exposure and apply the patch to prevent potential application termination or control flow hijack/memory corruption.

Why it matters

Defenders should prioritize verifying and applying the patch to prevent potential application termination or control flow hijack/memory corruption in PJSIP-based applications using SRTP.

  • Potential application termination due to stack buffer overflow
  • Possible control flow hijack or memory corruption
  • Verification of patch application is necessary to prevent exploitation
  • SRTP-enabled applications are at risk and require immediate attention

Technical summary

The vulnerability exists in the sdes_encode_sdp() function in transport_srtp_sdes.c. A remote peer can write past the end of a fixed-size array on the stack by including an excessive number of a=crypto attributes in a single media description. This affects applications with SRTP enabled. 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. Impact may range from unexpected application termination to control flow hijack/memory corruption.

Defensive priority

Defenders should prioritize verifying and applying the patch to prevent potential application termination or control flow hijack/memory corruption.

Recommended defensive actions

  • Verify and apply the patch via commit a1b707c
  • Review and update affected applications to ensure SRTP is properly configured
  • Monitor for potential exploitation attempts
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The vulnerability is caused by a stack buffer overflow in the sdes_encode_sdp() function in transport_srtp_sdes.c. This occurs when a remote peer includes an excessive number of a=crypto attributes in a single media description.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-57162 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-57162

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-57162 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-57162

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.