Technical impact
Prior to version 1.11.2, the function switch_core_media_add_crypto incorrectly used the length of an inbound SDP a=crypto key and salt as the destination buffer size for base64 decoding, allowing a zero‑length value to cause an underflow. The decoded data could overflow a fixed stack buffer with caller‑chosen bytes before the call was answered, corrupting memory, crashing the FreeSWITCH process, and terminating all active calls. Although remote code execution has not been demonstrated, the overflow could serve as a foothold for more severe exploits if additional vulnerabilities exist.
Affected Systems
FreeSWITCH, a Software Defined Telecom Stack distributed by SignalWire, is affected for all releases prior to 1.11.2. The vulnerability is triggered when the SDES‑SRTP parser processes an inbound call carrying a zero‑length key or salt in the SDP a=crypto attribute. Profiles that challenge inbound calls remain vulnerable for authenticated senders; unchallenged external profiles expose the parser to unauthenticated callers. Setting rtp_secure_media_inbound to false removes the vulnerable parsing path, and WebRTC DTLS‑SRTP legs are unaffected.
Risk and Exploitability
The CVSS score of 7.5 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV. Based on the description, the likely attack vector is an attacker sending a call with a crafted SDP a=crypto attribute, as only those bytes are required to trigger the overflow. This is feasible via simple signaling. The path is exposed on some profiles without authentication, increasing the likelihood of exploitation. While no remote code execution proof exists, the ability to crash the application leads to denial of service for all active calls, representing a significant operational risk.