CVE-2022-42705

A use-after-free in res_pjsip_pubsub.c in Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2 may allow a remote authenticated attacker to crash Asterisk (denial of service) by performing activity on a subscription via a reliable transport at the same time that Asterisk is also performing activity on that subscription.

Published: 2022-12-05 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-42705 is rated Moderate Risk (48.4/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.23%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-42705

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 1.52% 1.23% -0.29%
2 2026-05-27 1.82% 1.52% -0.30%
3 2026-05-14 1.82%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-42705

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 3.6 [email protected]
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2022-42705

OS Trackers for CVE-2022-42705

vendor priority summary link
alpine CVE-2022-42705: 1 source package rows (asterisk); 31 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 24. https://security.alpinelinux.org/vuln/CVE-2022-42705
debian not yet assigned CVE-2022-42705 not yet assigned priority: Debian including 1 source packages (asterisk), 2 status rows across 2 suites (bullseye, sid): resolved 2. https://security-tracker.debian.org/tracker/CVE-2022-42705
gentoo high CVE-2022-42705: 1 GLSA(s) (202412-03), 1 atom(s) (net-misc/asterisk); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-42705
ubuntu medium CVE-2022-42705 medium priority: Ubuntu including 1 source packages (asterisk), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 7, ignored 6. https://ubuntu.com/security/CVE-2022-42705

Affected software / configurations for CVE-2022-42705

Vendor Product Version Raw CPE
sangoma asterisk >= 16.0.0, < 16.29.1 cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
sangoma asterisk >= 18.14.0, < 18.15.1 cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
sangoma asterisk >= 19.6.0, < 19.7.1 cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
sangoma asterisk 20.0.0 cpe:2.3:a:sangoma:asterisk:20.0.0:*:*:*:*:*:*:*
sangoma certified_asterisk 18.9 cpe:2.3:a:sangoma:certified_asterisk:18.9:cert2:*:*:*:*:*:*

References for CVE-2022-42705

cvelogic Threat Intelligence