CVE-2026-32945

CRITICAL

PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-32945. PoCs published by JohannesLks.

AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2026-32945, a heap out-of-bounds read vulnerability in PJSIP's DNS parser. The exploit includes a rogue DNS server that triggers the vulnerability by sending a crafted 20-byte DNS response with a truncated compression pointer, causing a crash in PJSIP applications.

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.

Exploits (1)

nomisec WORKING POC
by JohannesLks · poc
https://github.com/JohannesLks/CVE-2026-32945

This repository contains a functional exploit PoC for CVE-2026-32945, a heap out-of-bounds read vulnerability in PJSIP's DNS parser. The exploit includes a rogue DNS server that triggers the vulnerability by sending a crafted 20-byte DNS response with a truncated compression pointer, causing a crash in PJSIP applications.

Classification
Working Poc 100%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: PJSIP (pjproject <= 2.16)
No auth needed
Prerequisites: Network access to a PJSIP application using a vulnerable version of pjproject · Ability to intercept or redirect DNS queries to the rogue DNS server
mistral-large-3 · analyzed Apr 09, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.0031
EPSS Percentile 23.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-122
Status published
Products (2)
pjsip/pjproject < 2.17
pjsip/pjsip < 2.17
Published Mar 20, 2026
Tracked Since Mar 20, 2026