
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-32945 is a heap-based buffer overflow vulnerability in PJSIP's DNS parser name length handler, affecting PJSIP versions 2.16 and below. The flaw was discovered via fuzzing (fuzz-dns-records fuzzer) and disclosed on March 17–20, 2026, with a patch released in version 2.17. It affects applications using PJSIP's built-in DNS resolver configured via pjsua_config.nameserver or UaConfig.nameserver in PJSUA/PJSUA2. It carries a CVSS v3.1 base score of 9.8 (Critical) and a CVSS v4.0 base score of 8.4 (High) (GitHub Advisory, Red Hat Bugzilla).
The vulnerability is classified as CWE-122 (Heap-based Buffer Overflow) and CWE-131 (Incorrect Calculation of Buffer Size). It resides in the get_name_len() and get_name() functions within pjlib-util/src/pjlib-util/dns.c, where DNS name compression pointer handling fails to validate that the pointer p + 1 remains within the packet boundary (max) before performing a 2-byte memory copy. An attacker controlling a DNS response can craft a malicious packet with an out-of-bounds name length field, triggering a heap write beyond the allocated buffer. The fix (commit 5311aee) adds boundary checks (if (p + 1 >= max) return PJLIB_UTIL_EDNSINNAMEPTR;) in both affected functions (GitHub Commit, GitHub Advisory).
Successful exploitation can result in remote code execution, denial of service, or memory corruption on systems running vulnerable PJSIP-based applications. An unauthenticated remote attacker can compromise confidentiality, integrity, and availability of the affected system by sending a crafted DNS response. Applications not using PJSIP's built-in DNS resolver — those relying on the OS resolver (getaddrinfo()) or an external resolver via pjsip_resolver_set_ext_resolver() — are not affected (Red Hat Bugzilla, GitHub Advisory).
No public proof-of-concept exploit or active in-the-wild exploitation has been observed as of the time of reporting. The EPSS score is approximately 0.042%, reflecting low current exploitation probability. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A Nessus detection plugin (ID 304102) is available for scanning (Feedly, Tenable).
nameserver_count > 0 in configuration). VoIP applications, SIP clients, and communication servers built on PJSUA/PJSUA2 are prime targets.p + 1 >= max to be true without the (pre-patch) boundary check — triggering an out-of-bounds 2-byte read/write in get_name_len() or get_name().PJLIB_UTIL_EDNSINNAMEPTR (on patched versions detecting the condition).Upgrade PJSIP to version 2.17 or later, which includes the fix in commit 5311aee addressing the missing boundary checks in get_name_len() and get_name(). For users unable to upgrade immediately, two workarounds are available: (1) disable PJSIP's built-in DNS resolver by setting nameserver_count to zero in the PJSIP configuration, or (2) configure an external DNS resolver using pjsip_resolver_set_ext_resolver(). Users who already rely on the OS resolver (getaddrinfo()) without configuring a nameserver are not affected and require no action (GitHub Advisory, Red Hat Bugzilla).
The vulnerability was credited to researcher arthurscchan and was identified through fuzzing via the fuzz-dns-records fuzzer, highlighting the value of continuous fuzz testing for multimedia communication libraries. Red Hat tracked the issue via Bugzilla and classified it as high severity. No significant broader media coverage or notable public researcher commentary beyond the official advisory has been observed (GitHub Advisory, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."