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 pjsuaconfig.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 pjsipresolversetextresolver(). 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 nameservercount to zero) or to use an external resolver implementation instead.
{
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32945.json",
"cna_assigner": "GitHub_M"
}{
"cpe": "cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.17"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}[
{
"source": "https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "322123608833366153724552989250038448616",
"length": 949.0
},
"deprecated": false,
"id": "CVE-2026-32945-86afcf85",
"target": {
"function": "get_name",
"file": "pjlib-util/src/pjlib-util/dns.c"
}
},
{
"source": "https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"264949189043664718990654898728157479626",
"161875752343422826252201417836625224675",
"52373331600092458484224350296297334007",
"208200197820416807573589979754305500114",
"84578190726999691662658596078196574153",
"52373331600092458484224350296297334007"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2026-32945-a9672f0d",
"target": {
"file": "pjlib-util/src/pjlib-util/dns.c"
}
},
{
"source": "https://github.com/pjsip/pjproject/commit/5311aee398ae9d623829a6bad7b679a193c9e199",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "210276497721837895778913101976107396684",
"length": 989.0
},
"deprecated": false,
"id": "CVE-2026-32945-ec5963f9",
"target": {
"function": "get_name_len",
"file": "pjlib-util/src/pjlib-util/dns.c"
}
}
]
"2026-07-15T17:32:59Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32945.json"