CVE-2022-23608 json
Use after free in PJSIP
published 2022-02-22 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-28577
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- asterisk certified_asterisk 16.8.0
- sangoma asterisk 16.24.1, 18.10.1, 19.2.1
- ring Debian 12 20230206.0~ds1-1
- asterisk Debian 14 1:18.10.1~dfsg+~cs6.10.40431411-1
debian advisories DEBIAN-CVE-2022-23608
- ring Ubuntu 20.04 LTS 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
- ring Ubuntu Pro 18.04 LTS 20180228.1.503da2b~ds1-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2022-23608
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pjproject Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 2.12-r0
alpine advisories ALPINE-CVE-2022-23608
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23608 updated cvss 8.1
pjsip: possible infinite loop in dialob list
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
4.02% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- pjsip pjproject
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f
patch, third-party-advisory
-
github.com
/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62
issue-tracking, patch, third-party-advisory
-
seclists.org
/fulldisclosure/2022/Mar/1
mailing-list, patch, third-party-advisory
-
security.gentoo.org
/glsa/202210-37
vendor-advisory, third-party-advisory
-
debian.org
/security/2022/dsa-5285
vendor-advisory, third-party-advisory
-
packetstormsecurity.com
/files/166226/Asterisk-Project-Security-Advisory-AST-2022-005.html
third-party-advisory, vdb-entry
-
lists.debian.org
/debian-lts-announce/2022/03/msg00035.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/03/msg00040.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/11/msg00021.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/08/msg00038.html
mailing-list
- lists.debian.org /debian-lts-announce/2024/09/msg00030.html
Sources
- CVE List CVE-2022-23608
- NVD CVE-2022-23608
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.