{"id":"CVE-2022-23608","published":"2022-02-22T00:00:00Z","modified":"2025-11-04T16:09:34Z","title":"Use after free in PJSIP","vendor":"pjsip","product":"pjproject","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04022,"percentile":0.90826,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62","tags":[]},{"url":"https://github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/Mar/1","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/166226/Asterisk-Project-Security-Advisory-AST-2022-005.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00040.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202210-37","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5285","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html","tags":[]}],"priority":{"score":28.8,"factors":[{"name":"EPSS percentile","points":18.17},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"pjsip","affectedVersions":[{"vendor":"pjsip","product":"pjproject","versions":["<= 2.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:55:53.682221Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is a use-after-free in pjproject, the PJSIP multimedia communication library, within its dialog set (forking) handling: a hash key shared by multiple UAC dialogs can be freed prematurely when one of those dialogs is destroyed. An attacker with network access and no authentication or user interaction can trigger this, though the attack is considered high in complexity, and it can lead to undefined behavior such as dialog list collisions and an endless loop; versions up to and including 2.11.1 are affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:28:42Z"},"euvd":{"id":"EUVD-2022-28577","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/166226/Asterisk-Project-Security-Advisory-AST-2022-005.html"]}