CVE-2026-32945: PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser

Published Mar 20, 2026
·
Updated

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.

Affected Software

6 affected componentsFixes available
PJSIP PJSIP<=2.16
PJSIP PJSIP<2.17
debian/asterisk<1:22.10.0+dfsg+~cs6.17.60671434-1
1:22.10.0+dfsg+~cs6.17.60671434-1
debian/asterisk
1:16.28.0~dfsg-0+deb11u101:22.10.0+dfsg+~cs6.17.60671434-1
ubuntu/pjproject*
ubuntu/pjproject*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:22.10.0+dfsg+~cs6.17.60671434-1
  2. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:16.28.0~dfsg-0+deb11u10Fixed in 1:22.10.0+dfsg+~cs6.17.60671434-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.17
  4. Configuration

    For users unable to upgrade, set nameserver_count to zero to disable DNS resolution, or use an external resolver implementation via pjsip_resolver_set_ext_resolver().

    PJSIP built-in DNS resolver nameserver_count = 0

Event History

Mar 20, 2026
CVE Published
via MITRE·03:54 AM
Data Sourced
via MITRE·03:54 AM
DescriptionWeakness
Data Sourced
via OSV·04:16 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:16 AM
DescriptionSeverityWeakness
Mar 23, 2026
Data Sourced
via NVD·08:54 PM
RemedyAffected Software
Updated
via NVD·08:54 PM
Severity
Mar 24, 2026
Event
via FIRST·12:00 AM
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-32945?

CVE-2026-32945 has a high severity rating due to its ability to cause a heap-based buffer overflow.

2

How do I fix CVE-2026-32945?

To fix CVE-2026-32945, upgrade to PJSIP version 2.17 or later, which contains the necessary patches.

3

What systems are affected by CVE-2026-32945?

CVE-2026-32945 affects all PJSIP versions 2.16 and below that utilize the DNS parser.

4

What are the potential impacts of CVE-2026-32945?

CVE-2026-32945 can lead to application crashes or arbitrary code execution due to the buffer overflow.

5

Is CVE-2026-32945 publicly known?

Yes, CVE-2026-32945 is publicly disclosed and documented in security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203