CVE-2026-40614
published 2026-04-21CVE-2026-40614: PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, there is a buffer overflow when decoding Opus audio frames…
PriorityP348high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.22%
13.0th percentile
PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, there is a buffer overflow when decoding Opus audio frames due to insufficient buffer size validation in the Opus codec decode path. The FEC decode buffers (dec_frame[].buf) were allocated based on a PCM-derived formula: (sample_rate/1000) * 60 * channel_cnt * 2. At 8 kHz mono this yields only 960 bytes, but codec_parse() can output encoded frames up to MAX_ENCODED_PACKET_SIZE (1280) bytes via opus_repacketizer_out_range(). The three pj_memcpy() calls in codec_decode() copied input->size bytes without bounds checking, causing a heap buffer overflow.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| pjsip | pjproject | <= 2.16 | — |
| pjsip | pjsip | < 2.17 | 2.17 |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv4.08.5HIGHCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-40614 PJSIP: pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow
bugzilla·2026-04-21·CVSS 8.5
CVE-2026-40614 [HIGH] CVE-2026-40614 PJSIP: pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow
CVE-2026-40614 PJSIP: pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow
PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, there is a buffer overflow when decoding Opus audio frames due to insufficient buffer size validation in the Opus codec decode path. The FEC decode buffers (dec_frame[].buf) were allocated based on a PCM-derived formula: (sample_rate/1000) * 60 * channel_cnt * 2. At 8 kHz mono this yields only 960 bytes, but codec_parse() can output encoded frames up to MAX_ENCODED_PACKET_SIZE (1280) bytes via opus_repacketizer_out_range(). The three pj_memcpy() calls in codec_decode() copied input->size bytes without bounds checking, causing a heap buffer overflow.
Bugzilla
CVE-2026-40614 pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow [epel-all]
bugzilla·2026-04-21·CVSS 8.5
CVE-2026-40614 [HIGH] CVE-2026-40614 pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow [epel-all]
CVE-2026-40614 pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-40614 pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow [fedora-all]
bugzilla·2026-04-21·CVSS 8.5
CVE-2026-40614 [HIGH] CVE-2026-40614 pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow [fedora-all]
CVE-2026-40614 pjproject: PJSIP: Arbitrary code execution or denial of service via Opus audio frame decoding buffer overflow [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
2026-04-21
Published