CVE-2026-57162 is a pre-authentication stack buffer overflow in PJSIP's SRTP implementation. If you run a PJSIP-based VoIP application with SRTP enabled using SDES keying, this vulnerability is reachable directly from an incoming INVITE—before your authentication runs, before the call is established, before any application-level verification. The attacker simply sends a crafted SDP offer with more crypto attributes than the code expects, overflows a fixed-size array on the stack, and gains control over program execution.
The root cause is straightforward: the SDES crypto attribute parser uses a stack-allocated array of fixed dimensions, but the SDP specification permits arbitrarily many crypto lines. This is a classic C buffer overflow in code whose explicit purpose was to secure media sessions. The irony is structural—the security feature became the attack vector.
What you should do: Identify every PJSIP version in your deployment chain, including libraries bundled into downstream applications. If any version predates the fix (commit a1b707c), treat it as actively exploitable. The attack requires no credentials, no user interaction, and no prior session state—the endpoint just needs to be reachable on a signaling port willing to process INVITEs with SDP. That means border controllers, PBX systems, and any telephony gateway running vulnerable PJSIP code face direct exposure to the public internet or untrusted networks.
Prioritize patching over monitoring. Unlike vulnerabilities requiring authentication or social engineering, this one has no natural brake—the attack surface is fully open from first packet. If you cannot patch immediately, disable SDES keying and fall back to DTLS-SRTP if your deployment supports it, though you should verify that your PJSIP version has no similar issues in its DTLS handshake path.
The broader pattern matters: this is the latest mutation of a vulnerability class that has repeated across VoIP stacks since SRTP was standardized in 2003. Every time developers optimize media security code with fixed-size arrays, assuming SDP input will be reasonable, the same failure mode recurs. Treat this not as an isolated bug but as evidence that your dependency chain needs architectural review for unbounded-input handling in media negotiation code.