Vulnerability · Published Feb 22, 2022 · Assigned by GitHub_M

CVE-2022-23608Use after free in PJSIP

High 8.1

In plain English

A high-severity use-after-free in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)4.0%top 9.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20pjproject2.12-r0ALPINE-CVE-2022-23608
Alpine:v3.21pjproject2.12-r0ALPINE-CVE-2022-23608
Alpine:v3.22pjproject2.12-r0ALPINE-CVE-2022-23608
Alpine:v3.23pjproject2.12-r0ALPINE-CVE-2022-23608
Alpine:v3.24pjproject2.12-r0ALPINE-CVE-2022-23608
Debian:14asterisk1:18.10.1~dfsg+~cs6.10.40431411-1DEBIAN-CVE-2022-23608
Debian:12ring20230206.0~ds1-1DEBIAN-CVE-2022-23608
Ubuntu:22.04:LTSasteriskno fix listedUBUNTU-CVE-2022-23608
Ubuntu:24.04:LTSasteriskno fix listedUBUNTU-CVE-2022-23608
Ubuntu:25.10asteriskno fix listedUBUNTU-CVE-2022-23608
Ubuntu:26.04:LTSasteriskno fix listedUBUNTU-CVE-2022-23608
Ubuntu:26.10asteriskno fix listedUBUNTU-CVE-2022-23608

Affected products (as reported)

VendorProductVersions
pjsip pjproject <= 2.11.1

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References