Out-of-bounds write in pjsip - #VU159421

 

Out-of-bounds write in pjsip - #VU159421

Published: November 5, 2026


Vulnerability identifier: #VU159421
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 an application receiving Opus audio.

The vulnerability exists due to an out-of-bounds write in codec_recover() in pjmedia/src/pjmedia-codec/opus.c when packet loss concealment zero-fills a frame using its unclamped size rather than the caller's buffer size. A remote attacker can send packets that determine the decoder's frame duration to trigger a concealment frame larger than the stream buffer, causing an assertion failure or a heap overflow with zero bytes and crashing the application.

Affected applications must use Opus in the receiving direction with packet loss concealment enabled, which is the default. The zero-fill path is used when there is no previous packet to conceal from.


Affected software

pjsip

Remediation

Install security update from vendor's website.

pjsip - update to 2.18

External References

Related Security Bulletins