CVE-2022-21723 json
Out-of-bounds read in multipart parsing in PJSIP
published 2022-01-27 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-26905
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- 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 2.11.1 and prior, parsing an incoming SIP message that contains a malformed multipart can potentially cause out-of-bound read access. This issue affects all PJSIP users that accept SIP multipart. The patch is available as commit in the `master` branch. There are no known workarounds.
Patch / fix
- 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-21723
- 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-21723
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-21723
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-21723 updated cvss 9.1
pjsip: malformed SIP packets may cause out-of-bounds read access
-
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
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
4.36% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected products
- pjsip pjproject
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896
patch, third-party-advisory
-
github.com
/pjsip/pjproject/security/advisories/GHSA-7fw8-54cv-r7pm
patch, third-party-advisory
-
seclists.org
/fulldisclosure/2022/Mar/2
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/166227/Asterisk-Project-Security-Advisory-AST-2022-006.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/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-21723
- NVD CVE-2022-21723
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.