{"id":"CVE-2026-32945","summary":"PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser","details":"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.","aliases":["GHSA-jr2p-p2w4-rr9q"],"modified":"2026-08-12T15:32:29.162972Z","published":"2026-03-20T03:54:00.813Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32945.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32945.json"},{"type":"ADVISORY","url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-jr2p-p2w4-rr9q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32945"},{"type":"FIX","url":"https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pjsip/pjproject","events":[{"introduced":"0"},{"fixed":"5a457451fa2712ba18e12b01738e8ff3af2b26fd"},{"fixed":"5311aee398ae9d623829a6bad7b679a193c9e199"}],"database_specific":{"cpe":"cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.17"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["2.16","2.15","2.14","2.13","2.12","2.11","2.10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32945.json","vanir_signatures_modified":"2026-08-12T15:32:29Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199","target":{"file":"pjlib-util/src/pjlib-util/dns.c","function":"get_name"},"deprecated":false,"digest":{"function_hash":"322123608833366153724552989250038448616","length":949},"id":"CVE-2026-32945-86afcf85","signature_type":"Function"},{"target":{"file":"pjlib-util/src/pjlib-util/dns.c"},"deprecated":false,"digest":{"line_hashes":["264949189043664718990654898728157479626","161875752343422826252201417836625224675","52373331600092458484224350296297334007","208200197820416807573589979754305500114","84578190726999691662658596078196574153","52373331600092458484224350296297334007"],"threshold":0.9},"id":"CVE-2026-32945-a9672f0d","signature_type":"Line","signature_version":"v1","source":"https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199"},{"deprecated":false,"digest":{"function_hash":"210276497721837895778913101976107396684","length":989},"id":"CVE-2026-32945-ec5963f9","signature_type":"Function","signature_version":"v1","source":"https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199","target":{"file":"pjlib-util/src/pjlib-util/dns.c","function":"get_name_len"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}