CVE-2022-21723
Out-of-bounds read in multipart parsing in PJSIP
Reported by github_m · Published January 27, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pjsip | teluu | 2.11.1 |
| asterisk | sangoma | 19.2.1, 18.10.1, 16.24.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pjsip | pjproject | <= 2.11.1 |
| alpine | pjproject | 0 |
| pjsip | pjproject | 0 |
Timeline
- Jan 26, 2022 CVE Published
- Feb 8, 2022 EPSS Score (30 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Mar 10, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 10, 2026 Security Advisory (6 in total, the first dated here)
- Jul 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-21723
vulnetix vdb fixes CVE-2022-21723
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-21723/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 20220304 AST-2022-006: pjproject: unconstrained malformed multipart SIP message mailing-list
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update mailing-list
- GLSA-202210-37 vendor-advisory
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update mailing-list
- DSA-5285 vendor-advisory
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html advisory