8.4high
PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser
- Severity
- 8.4high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.63% (higher than 45% of CVEs)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| pjsip pjproject | < 2.17 | CVE List |
| pjsip pjsip | before 2.17 | NVD |
All scores
| GitHub_M | 8.4high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
PJSIP es una biblioteca de comunicación multimedia de código abierto y gratuita escrita en C. Las versiones 2.16 e inferiores tienen una vulnerabilidad de desbordamiento de búfer basado en montón (Heap-based Buffer Overflow) en el gestor de longitud de nombre del analizador DNS. Esto afecta a las aplicaciones que utilizan el resolvedor DNS integrado de PJSIP, como aquellas configuradas con pjsua_config.nameserver o UaConfig.nameserver en PJSUA/PJSUA2. No afecta a los usuarios que dependen del resolvedor del sistema operativo (por ejemplo, getaddrinfo()) al no configurar un servidor de nombres, o a aquellos que utilizan un resolvedor externo a través de pjsip_resolver_set_ext_resolver(). Este problema está solucionado en la versión 2.17. Para los usuarios que no pueden actualizar, una solución alternativa es deshabilitar la resolución DNS en la configuración de PJSIP (estableciendo nameserver_count en cero) o utilizar una implementación de resolvedor externo en su lugar.
References
| https://github.com/pjsip/pjproject/security/advisories/GHSA-jr2p-p2w4-rr9q | mitigation, patch, vendor-advisory | |
| https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32945 changed 2026-03-20 | CVE Terms of Use |
| NVD | CVE-2026-32945 changed 2026-06-17 | Public domain |