# CVE-2022-23608: Use after free in PJSIP

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.02%, higher than 90% of CVEs (2026-12-01)
- Published: 2022-02-22T00:00:00.000Z
- Modified: 2026-06-17T04:30:28.263Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- pjsip pjproject: <= 2.11.1
- teluu pjsip: up to 2.11.1
- asterisk certified_asterisk: before 16.8.0; 16.8.0
- sangoma asterisk: from 16.0.0 before 16.24.1; from 18.0.0 before 18.10.1; from 19.0.0 before 19.2.1
- debian debian_linux: 9.0; 10.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62> (issue-tracking, patch, third-party-advisory)
- <https://github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f> (patch, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Mar/1> (mailing-list, patch, third-party-advisory)
- <http://packetstormsecurity.com/files/166226/Asterisk-Project-Security-Advisory-AST-2022-005.html> (third-party-advisory, vdb-entry)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00040.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202210-37> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5285> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html>

## Sources

- CVE List: [CVE-2022-23608](https://www.cve.org/CVERecord?id=CVE-2022-23608), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2022-23608](https://nvd.nist.gov/vuln/detail/CVE-2022-23608), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23608 · Whole record: https://cve.day/CVE-2022-23608.json · Rebuilt by cve.day 2026-11-25T22:58:09.790Z
