CVE-2026-32945
PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser
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.
INFO
Published Date :
March 20, 2026, 4:16 a.m.
Last Modified :
March 23, 2026, 8:54 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Upgrade PJSIP to version 2.17 or later.
- Alternatively, disable DNS resolution in PJSIP configuration.
- Alternatively, use an external DNS resolver implementation.
Public PoC/Exploit Available at Github
CVE-2026-32945 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-32945.
| URL | Resource |
|---|---|
| https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199 | Patch |
| https://github.com/pjsip/pjproject/security/advisories/GHSA-jr2p-p2w4-rr9q | Mitigation Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-32945 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-32945
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
PJSIP DNS Compression Pointer Heap OOB Read (Remote DoS)
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-32945 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-32945 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 23, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:* versions up to (excluding) 2.17 Added Reference Type GitHub, Inc.: https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/pjsip/pjproject/security/advisories/GHSA-jr2p-p2w4-rr9q Types: Mitigation, Patch, Vendor Advisory -
New CVE Received by [email protected]
Mar. 20, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/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 Added CWE CWE-122 Added Reference https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199 Added Reference https://github.com/pjsip/pjproject/security/advisories/GHSA-jr2p-p2w4-rr9q