Out-of-bounds write in pjsip - #VU159272

 

Out-of-bounds write in pjsip - #VU159272

Published: November 4, 2026


Vulnerability identifier: #VU159272
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing the application.

The vulnerability exists due to an out-of-bounds write in the DTLS-SRTP transport's ssl_flush_wbio() function when draining a handshake flight larger than a single channel buffer. A remote attacker can send UDP traffic to the media port to initiate a DTLS handshake, causing the function to use the combined size of two channel buffers as the read limit and overwrite adjacent transport object fields to crash the application.

Exploitation requires a build with PJMEDIA_SRTP_HAS_DTLS=1 and PJMEDIA_MAX_MTU smaller than the handshake flight, approximately 700 bytes with the default EC certificate or 1400 bytes with an RSA certificate.


Affected software

pjsip

Remediation

Install security update from vendor's website.

pjsip - update to 2.18

External References

Related Security Bulletins