Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.9
CVE-2026-32945: PJSIP: DNS resolver can crash or be exploited by malicious input
CVE-2026-32945 · published 8 months ago
Summary
PJSIP's built-in DNS resolver can be vulnerable to a serious security threat if you're using outdated versions. This can happen if an attacker sends a malicious DNS query. To stay safe, update to version 2.17 or disable DNS resolution in your PJSIP configuration.
What to do
- Update pjsip pjsip to version 2.17 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | pjsip | pjsip |
< 2.17 cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:* |
| Debian:11 | debian | asterisk | All versions |
Original advisory text
PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser
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.
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-jr2p-p2w4-rr9q Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-32945 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32945... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-32945 Vendor Advisory
- https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e1... Patch
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
8.9
High
Type
CWE-122Heap-based Buffer Overflow
Timeline
Published20 Mar 2026
Updated22 Nov 2026
First seen20 Mar 2026
Sources
CVE-2026-32945 · NVD
DEBIAN-CVE-2026-32945 · OSV
CVE-2026-32945 · OSV
GHSA-jr2p-p2w4-rr9q · GHSA
Track software like this
Free during beta