CVE-2022-23608: Use after free in PJSIP

CVE-2022-23608 affects 66 listed versions of Sangoma Asterisk in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
4%EPSS (next 30 days)
22 February 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Sangoma Asterisk

66 of 250 listed versions are affected. Fixed in 19.2.1, 18.10.1, 16.24.1. The newest release, 24.0.0, is not affected.

19.2.0 19.1.0 19.0.0 18.10.0 18.9.0 18.9-cert17 18.9-cert14 18.9-cert12 18.9-cert11 18.9-cert6 18.9-cert5 18.8.0 18.7.1 18.7.0 18.6.0 18.5.1 18.5.0 18.4.0 18.3.0 18.2.2 18.2.1 18.2.0 18.1.1 18.1.0 18.0.1 18.0.0 16.24.0 16.23.0 16.22.0 16.21.1 16.21.0 16.20.0 16.19.1 16.19.0 16.18.0 16.17.0 16.16.2 16.16.1 16.16.0 16.15.1 16.15.0 16.14.1 16.14.0 16.13.0 16.12.0 16.11.1 16.11.0 16.10.0 16.9.0 16.8.0 16.7.0 16.6.2 16.6.1 16.6.0 16.5.1 16.5.0 16.4.1 16.4.0 16.3.0 16.2.1 and 6 more

What it is

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions up to and including 2.11.1 when in a dialog set (or forking) scenario, a hash key shared by multiple UAC dialogs can potentially be prematurely freed when one of the dialogs is destroyed . The issue may cause a dialog set to be registered in the hash table multiple times (with different hash keys) leading to undefined behavior such as dialog list collision which eventually leading to endless loop. A patch is available in commit db3235953baa56d2fb0e276ca510fefca751643f which will be included in the next release. There are no known workarounds for this issue.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by GitHub on 22 February 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-23608 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.