Read the docs
TI-2026-29349 Aliases CVE-2026-40614

PJSIP: Heap buffer overflow in Opus codec decoding

Priority LOW 38CWE-122Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-122 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00224 13th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pjsippjprojectup to 2.16—No fix listedCNA
  • pjproject Vendorpjsip Affected up to 2.16 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:*before 2.17Vulnerablepjsip
  • cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:* Versions before 2.17 Vulnerable ·pjsip

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40614

References

  • TI-2022-08599 Potential out-of-bound read/write in PJSIP CVSS 3.1CRITICAL 9.8
  • TI-2026-21009 PJSIP has a heap buffer overflow in ICE with long username CVSS 4.0HIGH 8.1
  • TI-2022-18621 Buffer overflow in pjlib scanner and pjmedia CVSS 3.1CRITICAL 9.8
  • TI-2026-29548 PJSIP: Stack buffer overflow in pjsip_auth_create_digest2() CVSS 4.0HIGH 8.1
  • TI-2026-23213 PJSIP: Stack buffer overflow in Opus codec parser CVSS 4.0HIGH 8.7
  • TI-2026-22993 PJSIP: Heap use-after-free in PJSIP presence subscription termination handler CVSS 4.0HIGH 8.7
See all 13 →

Sources