Out-of-bounds write in pjsip - #VU159274

 

Out-of-bounds write in pjsip - #VU159274

Published: November 4, 2026


Vulnerability identifier: #VU159274
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 corrupt heap memory and cause a denial of service.

The vulnerability exists due to missing buffer-capacity checks in the audio switchboard, stream frame collection, and passthrough encoder when appending encoded audio frames. A remote attacker can specify a packet time exceeding the receiving buffer's capacity in SDP and send crafted RTP payloads during a call using a passthrough codec to write attacker-controlled data beyond a heap buffer and crash the application.

Only builds with both PJMEDIA_CONF_USE_SWITCH_BOARD=1 and PJMEDIA_HAS_PASSTHROUGH_CODECS=1 are affected.


Affected software

pjsip

Remediation

Install security update from vendor's website.

pjsip - update to 2.18

External References

Related Security Bulletins