Skip to content
OpenAdvisories
High · 8.4 Public exploit CVE-2026-32945 EUVD-2026-13519

PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser

Published Mar 20, 2026 · Updated Mar 20, 2026 · Assigned by GitHub_M

Description

PJSIP is a free and open source multimedia communication library written in C. Versions 2.16 and below have a Heap-based Buffer Overflowvulnerability in the DNS parser's name length handler. Thisimpacts applications using PJSIP's built-in DNS resolver, such as those configured with pjsua_config.nameserver or UaConfig.nameserver in PJSUA/PJSUA2. It does not affect users who rely on the OS resolver (e.g., getaddrinfo()) by not configuring a nameserver, or those using an external resolver via pjsip_resolver_set_ext_resolver(). This issue is fixed in version 2.17. For users unable to upgrade, a workaround is to disable DNS resolution in the PJSIP config (by setting nameserver_count to zero) or to use an external resolver implementation instead.

Affected products

VendorProductAffectedFixed
pjsip pjproject < 2.17 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 asterisk 1:22.10.0+dfsg+~cs6.17.60671434-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS pjproject No fix yet —
Ubuntu Pro 16.04 LTS pjproject No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 pjproject 2.17-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References